ClickHouse/programs/benchmark/CMakeLists.txt
Ivan 47ad338cb2
Refactor CMake build files (#11390)
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00

16 lines
368 B
CMake

set (CLICKHOUSE_BENCHMARK_SOURCES Benchmark.cpp)
set (CLICKHOUSE_BENCHMARK_LINK
PRIVATE
boost::program_options
clickhouse_aggregate_functions
clickhouse_common_config
dbms
)
clickhouse_program_add(benchmark)
if(NOT CLICKHOUSE_ONE_SHARED)
target_link_libraries (clickhouse-benchmark-lib PRIVATE clickhouse-client-lib)
endif()