Skip to content

Commit

Permalink
Silence MSVC deprecation warning (wd4996)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Nov 17, 2023
1 parent 36b8cae commit d0d6110
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 @@ -83,7 +83,7 @@ option(BUILD_SHARED_LIBS "Build shared libraries" OFF)

function(configure_cesium_library targetName)
if (MSVC)
target_compile_options(${targetName} PRIVATE /W4 /WX /wd4201 /bigobj)
target_compile_options(${targetName} PRIVATE /W4 /WX /wd4201 /wd4996 /bigobj)
else()
target_compile_options(${targetName} PRIVATE -Werror -Wall -Wextra -Wconversion -Wpedantic -Wshadow -Wsign-conversion)
endif()
Expand Down

0 comments on commit d0d6110

Please sign in to comment.