mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
Fix build without submodules
This commit is contained in:
parent
59babfb74d
commit
6959dc3b33
@ -1,4 +1,11 @@
|
||||
option (ENABLE_BASE64 "Enable base64" ON)
|
||||
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/base64/lib/lib.c")
|
||||
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 MISSING_INTERNAL_BASE64_LIBRARY)
|
||||
option (ENABLE_BASE64 "Enable base64" ON)
|
||||
endif ()
|
||||
|
||||
if (ENABLE_BASE64)
|
||||
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/base64")
|
||||
@ -9,4 +16,3 @@ if (ENABLE_BASE64)
|
||||
set (USE_BASE64 1)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user