mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-06 15:42:39 +00:00
d456aa86ef
This reverts commit 89419ceb9b
(curl part moved to separate commit)
Squashed:
- termcap removed
- fix for cassandra on apple merged
- cmake: fix "Can't find system zlib library" in unbundled build
- cmake: fix condition when testing for rdkafka platform
- cmake: PROTOBUF_OLD_ABI_COMPAT shouldn't be enabled for internal protobuf
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
17 lines
430 B
CMake
17 lines
430 B
CMake
if(NOT DEFINED ENABLE_GPERF OR ENABLE_GPERF)
|
|
# Check if gperf was installed
|
|
find_program(GPERF gperf)
|
|
if(GPERF)
|
|
option(ENABLE_GPERF "Use gperf function hash generator tool" ${ENABLE_LIBRARIES})
|
|
endif()
|
|
endif()
|
|
|
|
if (ENABLE_GPERF)
|
|
if(NOT GPERF)
|
|
message(FATAL_ERROR "Could not find the program gperf")
|
|
endif()
|
|
set(USE_GPERF 1)
|
|
endif()
|
|
|
|
message(STATUS "Using gperf=${USE_GPERF}: ${GPERF}")
|