simdjson/windows/CMakeLists.txt

7 lines
315 B
CMake
Raw Normal View History

add_library(simdjson-windows-headers INTERFACE)
if(MSVC OR MINGW)
target_include_directories(simdjson-windows-headers INTERFACE .)
2020-05-02 04:53:23 +08:00
# 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)
2020-05-02 20:16:50 +08:00
endif()