mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +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>
22 lines
688 B
CMake
22 lines
688 B
CMake
option (ENABLE_BASE64 "Enable base64" ${ENABLE_LIBRARIES})
|
|
|
|
if (NOT ENABLE_BASE64)
|
|
return()
|
|
endif()
|
|
|
|
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64/LICENSE")
|
|
set (MISSING_INTERNAL_BASE64_LIBRARY 1)
|
|
message (WARNING "submodule contrib/base64 is missing. to fix try run: \n git submodule update --init --recursive")
|
|
endif ()
|
|
|
|
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64")
|
|
message (WARNING "submodule contrib/base64 is missing. to fix try run: \n git submodule update --init --recursive")
|
|
else()
|
|
set (BASE64_LIBRARY base64)
|
|
set (USE_BASE64 1)
|
|
endif()
|
|
|
|
if (NOT USE_BASE64)
|
|
message (${RECONFIGURE_MESSAGE_LEVEL} "Cannot enable base64")
|
|
endif()
|