ClickHouse/cmake/find/simdjson.cmake

12 lines
451 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")
message (WARNING "submodule contrib/simdjson is missing. to fix try run: \n git submodule update --init --recursive")
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}")