mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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")
|
||||
|
||||
# Author: Lasse Collin
|
||||
|
@ -390,10 +390,7 @@ dbms_target_link_libraries(PUBLIC
|
||||
|
||||
dbms_target_link_libraries(PRIVATE 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)
|
||||
endif()
|
||||
target_link_libraries (clickhouse_common_io PUBLIC ch_contrib::xz)
|
||||
|
||||
if (TARGET ch_contrib::icu)
|
||||
dbms_target_link_libraries (PRIVATE ch_contrib::icu)
|
||||
|
Loading…
Reference in New Issue
Block a user