Skip to content

Commit faf0866

Browse files
PatTheMavtt2468
authored andcommitted
cmake: Downgrade deprecation error for MSVC compilations
Error has already been downgraded for Clang, AppleClang, and GCC.
1 parent 228afd3 commit faf0866

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ target_compile_definitions(
138138
target_compile_options(
139139
obs-websocket
140140
PRIVATE $<$<PLATFORM_ID:Windows>:/wd4267>
141+
$<$<PLATFORM_ID:Windows>:/wd4996>
141142
$<$<COMPILE_LANG_AND_ID:CXX,GNU,AppleClang,Clang>:-Wall>
142143
$<$<COMPILE_LANG_AND_ID:CXX,GNU,AppleClang,Clang>:-Wno-error=float-conversion>
143144
$<$<COMPILE_LANG_AND_ID:CXX,GNU,AppleClang,Clang>:-Wno-error=shadow>

0 commit comments

Comments
 (0)