From 499a26b152cf724af634fb6316436c7d8fc0ce70 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Tue, 21 Apr 2020 16:56:13 -0700 Subject: [PATCH] Remove /D_CRT_SECURE_NO_WARNINGS on Windows --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d94583f2..046d7114 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)