Fix build of keeper-bench

This commit is contained in:
Roman Vasin 2023-06-16 20:13:36 +00:00
parent d55878d587
commit 5bba0ff698
2 changed files with 11 additions and 2 deletions

View File

@ -1,2 +1,6 @@
clickhouse_add_executable (config-processor config-processor.cpp)
target_link_libraries(config-processor PRIVATE dbms)
if (ENABLE_SSL)
target_link_libraries(config-processor PRIVATE dbms)
else ()
target_link_libraries(config-processor PRIVATE clickhouse_common_config_no_zookeeper_log)
endif ()

View File

@ -4,4 +4,9 @@ if (NOT TARGET ch_contrib::rapidjson)
endif ()
clickhouse_add_executable(keeper-bench Generator.cpp Runner.cpp Stats.cpp main.cpp)
target_link_libraries(keeper-bench PRIVATE clickhouse_common_config_no_zookeeper_log ch_contrib::rapidjson)
if (ENABLE_SSL)
target_link_libraries(keeper-bench PRIVATE dbms)
else ()
target_link_libraries(keeper-bench PRIVATE clickhouse_common_config_no_zookeeper_log)
endif ()
target_link_libraries(keeper-bench PRIVATE ch_contrib::rapidjson)