ClickHouse/contrib/simdjson-cmake/CMakeLists.txt

7 lines
347 B
CMake
Raw Normal View History

2019-05-15 17:19:39 +00:00
set(SIMDJSON_INCLUDE_DIR "${ClickHouse_SOURCE_DIR}/contrib/simdjson/include")
2020-07-11 21:03:30 +00:00
set(SIMDJSON_SRC_DIR "${ClickHouse_SOURCE_DIR}/contrib/simdjson/src")
set(SIMDJSON_SRC "${SIMDJSON_SRC_DIR}/simdjson.cpp")
2020-07-11 21:03:30 +00:00
add_library(simdjson ${SIMDJSON_SRC})
target_include_directories(simdjson SYSTEM PUBLIC "${SIMDJSON_INCLUDE_DIR}" PRIVATE "${SIMDJSON_SRC_DIR}")