Try to build

This commit is contained in:
s-kat 2021-05-28 14:19:44 +03:00
parent 22dee6d97d
commit 1fa413e03f
6 changed files with 9 additions and 4 deletions

4
.gitmodules vendored
View File

@ -232,5 +232,5 @@
path = contrib/yaml-cpp
url = https://github.com/ClickHouse-Extras/yaml-cpp.git
[submodule "contrib/cld2"]
path = contrib/cld2
url = https://github.com/CLD2Owners/cld2.git
path = contrib/cld2
url = git@github.com:CLD2Owners/cld2.git

View File

@ -527,7 +527,7 @@ include (cmake/find/rocksdb.cmake)
include (cmake/find/libpqxx.cmake)
include (cmake/find/nuraft.cmake)
include (cmake/find/yaml-cpp.cmake)
include (cmake/find/cld2.cmake)
if(NOT USE_INTERNAL_PARQUET_LIBRARY)
set (ENABLE_ORC OFF CACHE INTERNAL "")

3
cmake/find/cld2.cmake Normal file
View File

@ -0,0 +1,3 @@
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/cld2")
message (ERROR "submodule contrib/cld2 is missing. to fix try run: \n git submodule update --init --recursive")
endif()

View File

@ -350,7 +350,7 @@ dbms_target_link_libraries (
clickhouse_dictionaries_embedded
clickhouse_parsers
lz4
cld2
# cld2
Poco::JSON
Poco::MongoDB
string_utils

Binary file not shown.

View File

@ -80,6 +80,8 @@ if(USE_BASE64)
endif()
target_link_libraries(clickhouse_functions PRIVATE lz4)
target_link_libraries(clickhouse_functions PRIVATE cld2)
target_include_directories(clickhouse_functions SYSTEM PRIVATE ${CLD2_INCLUDE_DIR})
if (USE_H3)
target_link_libraries(clickhouse_functions PRIVATE ${H3_LIBRARY})