File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,17 @@ set (SRCS
8
8
)
9
9
10
10
add_library (clickhouse_common_config ${SRCS} )
11
-
12
11
target_link_libraries (clickhouse_common_config
12
+ PUBLIC
13
+ clickhouse_common_zookeeper
14
+ common
15
+ Poco::XML
16
+ PRIVATE
17
+ string_utils
18
+ )
19
+
20
+ add_library (clickhouse_common_config_no_zookeeper_log ${SRCS} )
21
+ target_link_libraries (clickhouse_common_config_no_zookeeper_log
13
22
PUBLIC
14
23
clickhouse_common_zookeeper_no_log
15
24
common
@@ -19,8 +28,6 @@ target_link_libraries(clickhouse_common_config
19
28
)
20
29
21
30
if (USE_YAML_CPP)
22
- target_link_libraries (clickhouse_common_config
23
- PRIVATE
24
- yaml-cpp
25
- )
31
+ target_link_libraries (clickhouse_common_config PRIVATE yaml-cpp)
32
+ target_link_libraries (clickhouse_common_config_no_zookeeper_log PRIVATE yaml-cpp)
26
33
endif ()
Original file line number Diff line number Diff line change 1
1
add_executable (config-processor config-processor.cpp)
2
- target_link_libraries (config-processor PRIVATE clickhouse_common_config )
2
+ target_link_libraries (config-processor PRIVATE clickhouse_common_config_no_zookeeper_log )
You can’t perform that action at this time.
0 commit comments