base: Suppress C4996 warning

This commit is contained in:
tytan652 2022-07-28 21:11:04 +02:00 committed by tt2468
parent 2b8dd47a6c
commit 8bf8995ad8

View File

@ -244,7 +244,7 @@ endif()
# Random other things
if(WIN32)
add_definitions(-D_WEBSOCKETPP_CPP11_STL_)
target_compile_options(obs-websocket PRIVATE /wd4267)
target_compile_options(obs-websocket PRIVATE /wd4267 /wd4996)
elseif(UNIX AND NOT APPLE)
target_compile_options(
obs-websocket PRIVATE -Wall -Wextra -Wno-missing-field-initializers