ClickHouse/cmake/find/simdjson.cmake

12 lines
439 B
CMake
Raw Normal View History

option (USE_SIMDJSON "Use simdjson" ${ENABLE_LIBRARIES})
2020-07-11 21:03:30 +00:00
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/simdjson/include/simdjson.h")
2021-10-17 23:29:04 +00:00
message (WARNING "submodule contrib/simdjson is missing. to fix try run: \n git submodule update --init")
if (USE_SIMDJSON)
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't find internal simdjson library")
endif()
return()
endif ()
2020-07-11 21:03:30 +00:00
message(STATUS "Using simdjson=${USE_SIMDJSON}")