# # Provides the simdjson headers. # # target_link_libraries(my-project simdjson-headers) grants the headers. It does not provide the # source, libraries or any compiler flags. # add_library(simdjson-headers INTERFACE) target_compile_features(simdjson-headers INTERFACE cxx_std_11) # headers require at least C++11 target_include_directories(simdjson-headers INTERFACE $ $) install(TARGETS simdjson-headers EXPORT simdjson-config INCLUDES DESTINATION include) install(DIRECTORY simdjson DESTINATION include FILES_MATCHING PATTERN *.h) install(DIRECTORY simdjson DESTINATION include FILES_MATCHING PATTERN *.hpp) install(FILES simdjson.h DESTINATION include)