mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Remove unneeded /WD flags on Windows
This commit is contained in:
+1
-1
@@ -52,7 +52,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 /WX /W3 /wd4005 /wd4996 /wd4267 /wd4244 /wd4113)
|
||||
target_compile_options(simdjson-flags INTERFACE /WX /W3 /wd4996 /wd4267 /wd4244)
|
||||
else()
|
||||
target_compile_options(simdjson-flags INTERFACE -fPIC)
|
||||
target_compile_options(simdjson-flags INTERFACE -Werror -Wall -Wextra -Wsign-compare -Wshadow -Wwrite-strings -Wpointer-arith -Winit-self)
|
||||
|
||||
Reference in New Issue
Block a user