Remove /D_CRT_SECURE_NO_WARNINGS on Windows

This commit is contained in:
John Keiser 2020-04-21 16:56:13 -07:00
parent a9cdb5be50
commit 499a26b152
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
#
add_library(simdjson-flags INTERFACE)
if(MSVC)
target_compile_options(simdjson-flags INTERFACE /nologo /D_CRT_SECURE_NO_WARNINGS)
target_compile_options(simdjson-flags INTERFACE /nologo)
target_compile_options(simdjson-flags INTERFACE /WX /W3 /wd4996 /wd4267 /wd4244)
else()
target_compile_options(simdjson-flags INTERFACE -fPIC)