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)