Skip to content

Commit

Permalink
cmake: Downgrade deprecation error for MSVC compilations
Browse files Browse the repository at this point in the history
Error has already been downgraded for Clang, AppleClang, and GCC.
  • Loading branch information
PatTheMav authored and tt2468 committed Aug 1, 2024
1 parent 228afd3 commit faf0866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ target_compile_definitions(
target_compile_options(
obs-websocket
PRIVATE $<$<PLATFORM_ID:Windows>:/wd4267>
$<$<PLATFORM_ID:Windows>:/wd4996>
$<$<COMPILE_LANG_AND_ID:CXX,GNU,AppleClang,Clang>:-Wall>
$<$<COMPILE_LANG_AND_ID:CXX,GNU,AppleClang,Clang>:-Wno-error=float-conversion>
$<$<COMPILE_LANG_AND_ID:CXX,GNU,AppleClang,Clang>:-Wno-error=shadow>
Expand Down

0 comments on commit faf0866

Please sign in to comment.