mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fixed "unbundled" build
This commit is contained in:
parent
f2cfb7d132
commit
d91dab0d8f
@ -14,10 +14,12 @@ if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/hyperscan/CMakeLists.txt")
|
|||||||
set (USE_INTERNAL_HYPERSCAN_LIBRARY 0)
|
set (USE_INTERNAL_HYPERSCAN_LIBRARY 0)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT USE_INTERNAL_HYPERSCAN_LIBRARY)
|
# We cannot use OS hyperscan library due to different include path.
|
||||||
find_library (HYPERSCAN_LIBRARY hs)
|
#
|
||||||
find_path (HYPERSCAN_INCLUDE_DIR NAMES hs/hs.h hs.h PATHS ${HYPERSCAN_INCLUDE_PATHS})
|
#if (NOT USE_INTERNAL_HYPERSCAN_LIBRARY)
|
||||||
endif ()
|
# find_library (HYPERSCAN_LIBRARY hs)
|
||||||
|
# find_path (HYPERSCAN_INCLUDE_DIR NAMES hs/hs.h hs.h PATHS ${HYPERSCAN_INCLUDE_PATHS})
|
||||||
|
#endif ()
|
||||||
|
|
||||||
if (HYPERSCAN_LIBRARY AND HYPERSCAN_INCLUDE_DIR)
|
if (HYPERSCAN_LIBRARY AND HYPERSCAN_INCLUDE_DIR)
|
||||||
set (USE_HYPERSCAN 1)
|
set (USE_HYPERSCAN 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user