CodeCommitsIssuesPull requestsActionsInsightsSecurity
v19.11.0-testing

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/find_base64.cmake

18lines · modecode

1if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64/lib/lib.c")
2 set (MISSING_INTERNAL_BASE64_LIBRARY 1)
3 message (WARNING "submodule contrib/base64 is missing. to fix try run: \n git submodule update --init --recursive")
4endif ()
5
6if (NOT MISSING_INTERNAL_BASE64_LIBRARY)
7 option (ENABLE_BASE64 "Enable base64" ON)
8endif ()
9
10if (ENABLE_BASE64)
11 if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64")
12 message (WARNING "submodule contrib/base64 is missing. to fix try run: \n git submodule update --init --recursive")
13 else()
14 set (BASE64_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/base64/include)
15 set (BASE64_LIBRARY base64)
16 set (USE_BASE64 1)
17 endif()
18endif ()