2020-09-18 14:18:59 +00:00
|
|
|
option (USE_SIMDJSON "Use simdjson" ${ENABLE_LIBRARIES})
|
2020-08-14 15:44:04 +00:00
|
|
|
|
2020-07-11 21:03:30 +00:00
|
|
|
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/simdjson/include/simdjson.h")
|
2019-05-07 23:31:35 +00:00
|
|
|
message (WARNING "submodule contrib/simdjson is missing. to fix try run: \n git submodule update --init --recursive")
|
2020-09-18 14:18:59 +00:00
|
|
|
if (USE_SIMDJSON)
|
2020-08-14 15:44:04 +00:00
|
|
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Can't find internal simdjson library")
|
|
|
|
endif()
|
2019-05-07 23:31:35 +00:00
|
|
|
return()
|
|
|
|
endif ()
|
|
|
|
|
2020-09-18 14:18:59 +00:00
|
|
|
message(STATUS "Using simdjson=${USE_SIMDJSON}")
|