mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
b026eb7797
* Add submodule contrib/capnproto * Use contrib/capnproto, remove include_directories * Fix include * Clean * Fix werror * Update doc * Fix * Final fix * Fxi
14 lines
518 B
CMake
14 lines
518 B
CMake
option (USE_INTERNAL_SPARCEHASH_LIBRARY "Set to FALSE to use system sparsehash library instead of bundled" ${NOT_UNBUNDLED})
|
|
|
|
if (NOT USE_INTERNAL_SPARCEHASH_LIBRARY)
|
|
find_path (SPARCEHASH_INCLUDE_DIR NAMES sparsehash/sparse_hash_map PATHS ${SPARCEHASH_INCLUDE_PATHS})
|
|
endif ()
|
|
|
|
if (SPARCEHASH_INCLUDE_DIR)
|
|
else ()
|
|
set (USE_INTERNAL_SPARCEHASH_LIBRARY 1)
|
|
set (SPARCEHASH_INCLUDE_DIR "${ClickHouse_SOURCE_DIR}/contrib/libsparsehash")
|
|
endif ()
|
|
|
|
message (STATUS "Using sparsehash: ${SPARCEHASH_INCLUDE_DIR}")
|