mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
LZMA/xz cannot be disabled
This commit is contained in:
parent
70b3f1de76
commit
e05a75f850
@ -1,10 +1,3 @@
|
|||||||
option(ENABLE_XZ "Enable xz/liblzma" ${ENABLE_LIBRARIES})
|
|
||||||
|
|
||||||
if (NOT ENABLE_XZ)
|
|
||||||
message(STATUS "Not using xz")
|
|
||||||
return()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set (SRC_DIR "${ClickHouse_SOURCE_DIR}/contrib/xz")
|
set (SRC_DIR "${ClickHouse_SOURCE_DIR}/contrib/xz")
|
||||||
|
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
|
@ -390,10 +390,7 @@ dbms_target_link_libraries(PUBLIC
|
|||||||
|
|
||||||
dbms_target_link_libraries(PRIVATE ch_contrib::zstd)
|
dbms_target_link_libraries(PRIVATE ch_contrib::zstd)
|
||||||
target_link_libraries (clickhouse_common_io PUBLIC ch_contrib::zstd)
|
target_link_libraries (clickhouse_common_io PUBLIC ch_contrib::zstd)
|
||||||
|
|
||||||
if (TARGET ch_contrib::xz)
|
|
||||||
target_link_libraries (clickhouse_common_io PUBLIC ch_contrib::xz)
|
target_link_libraries (clickhouse_common_io PUBLIC ch_contrib::xz)
|
||||||
endif()
|
|
||||||
|
|
||||||
if (TARGET ch_contrib::icu)
|
if (TARGET ch_contrib::icu)
|
||||||
dbms_target_link_libraries (PRIVATE ch_contrib::icu)
|
dbms_target_link_libraries (PRIVATE ch_contrib::icu)
|
||||||
|
Loading…
Reference in New Issue
Block a user