mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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})
|
||||
|
||||
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
|
||||
clickhouse_common_zookeeper_no_log
|
||||
common
|
||||
@ -19,8 +28,6 @@ target_link_libraries(clickhouse_common_config
|
||||
)
|
||||
|
||||
if (USE_YAML_CPP)
|
||||
target_link_libraries(clickhouse_common_config
|
||||
PRIVATE
|
||||
yaml-cpp
|
||||
)
|
||||
target_link_libraries(clickhouse_common_config PRIVATE yaml-cpp)
|
||||
target_link_libraries(clickhouse_common_config_no_zookeeper_log PRIVATE yaml-cpp)
|
||||
endif()
|
||||
|
@ -1,2 +1,2 @@
|
||||
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