2020-04-07 02:58:26 +08:00
|
|
|
add_library(simdjson-windows-headers INTERFACE)
|
2020-06-30 09:10:54 +08:00
|
|
|
if(MSVC OR MINGW)
|
2020-04-07 02:58:26 +08:00
|
|
|
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()
|