mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
11 lines
305 B
CMake
11 lines
305 B
CMake
if (LZ4_INCLUDE_DIR)
|
|
if (NOT EXISTS "${LZ4_INCLUDE_DIR}/xxhash.h")
|
|
message (WARNING "LZ4 library does not have XXHash. Support for XXHash will be disabled.")
|
|
set (USE_XXHASH 0)
|
|
else ()
|
|
set (USE_XXHASH 1)
|
|
endif ()
|
|
endif ()
|
|
|
|
message (STATUS "Using xxhash=${USE_XXHASH}")
|