ClickHouse/programs/keeper-bench/CMakeLists.txt
Nikita Mikhaylov 6b8efc66c2 Fix build
2024-12-09 21:35:31 +00:00

21 lines
448 B
CMake

if (NOT TARGET ch_contrib::rapidjson OR NOT TARGET ch_contrib::nuraft)
message (WARNING "Not building keeper-bench due to rapidjson or nuraft is disabled")
return()
endif ()
set (CLICKHOUSE_KEEPER_BENCH_SOURCES
Generator.cpp
Runner.cpp
Stats.cpp
KeeperBench.cpp
)
set (CLICKHOUSE_KEEPER_BENCH_LINK
PRIVATE
dbms
clickhouse_functions
ch_contrib::rapidjson
)
clickhouse_program_add(keeper-bench)