Skip to content

Commit

Permalink
base: Suppress C4996 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tytan652 authored and tt2468 committed Jul 28, 2022
1 parent 2b8dd47 commit 8bf8995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bf8995

Please sign in to comment.