# # 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-headers-config INCLUDES DESTINATION include) install(EXPORT simdjson-headers-config FILE simdjson-headers-config.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/simdjson) install(DIRECTORY simdjson DESTINATION include FILES_MATCHING PATTERN *.h) install(FILES simdjson.h DESTINATION include)