mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
21 lines
448 B
CMake
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)
|