7 lines
306 B
CMake
7 lines
306 B
CMake
add_library(simdjson-windows-headers INTERFACE)
|
|
if(MSVC)
|
|
target_include_directories(simdjson-windows-headers INTERFACE .)
|
|
# getopt.h triggers bogus CRT_SECURE warnings. If you include them, you need this.
|
|
target_compile_definitions(simdjson-windows-headers INTERFACE _CRT_SECURE_NO_WARNINGS)
|
|
endif()
|