mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Introduce clickhouse_common_config_no_zookeeper_log
Otherwise incorrect zookeeper (w/o log) will be used in clickhouse server itself.
This commit is contained in:
parent
4a2bc64989
commit
003cdbcf60
@ -8,8 +8,17 @@ set (SRCS
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_library(clickhouse_common_config ${SRCS})
|
add_library(clickhouse_common_config ${SRCS})
|
||||||
|
|
||||||
target_link_libraries(clickhouse_common_config
|
target_link_libraries(clickhouse_common_config
|
||||||
|
PUBLIC
|
||||||
|
clickhouse_common_zookeeper
|
||||||
|
common
|
||||||
|
Poco::XML
|
||||||
|
PRIVATE
|
||||||
|
string_utils
|
||||||
|
)
|
||||||
|
|
||||||
|
add_library(clickhouse_common_config_no_zookeeper_log ${SRCS})
|
||||||
|
target_link_libraries(clickhouse_common_config_no_zookeeper_log
|
||||||
PUBLIC
|
PUBLIC
|
||||||
clickhouse_common_zookeeper_no_log
|
clickhouse_common_zookeeper_no_log
|
||||||
common
|
common
|
||||||
@ -19,8 +28,6 @@ target_link_libraries(clickhouse_common_config
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (USE_YAML_CPP)
|
if (USE_YAML_CPP)
|
||||||
target_link_libraries(clickhouse_common_config
|
target_link_libraries(clickhouse_common_config PRIVATE yaml-cpp)
|
||||||
PRIVATE
|
target_link_libraries(clickhouse_common_config_no_zookeeper_log PRIVATE yaml-cpp)
|
||||||
yaml-cpp
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
add_executable (config-processor config-processor.cpp)
|
add_executable (config-processor config-processor.cpp)
|
||||||
target_link_libraries(config-processor PRIVATE clickhouse_common_config)
|
target_link_libraries(config-processor PRIVATE clickhouse_common_config_no_zookeeper_log)
|
||||||
|
Loading…
Reference in New Issue
Block a user