mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
441 B
CMake
10 lines
441 B
CMake
set(CLICKHOUSE_BENCHMARK_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Benchmark.cpp)
|
|
set(CLICKHOUSE_BENCHMARK_LINK PRIVATE dbms clickhouse_aggregate_functions clickhouse_common_config ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
|
set(CLICKHOUSE_BENCHMARK_INCLUDE SYSTEM PRIVATE ${PCG_RANDOM_INCLUDE_DIR})
|
|
|
|
clickhouse_program_add(benchmark)
|
|
|
|
if(NOT CLICKHOUSE_ONE_SHARED)
|
|
target_link_libraries (clickhouse-benchmark-lib PRIVATE clickhouse-client-lib)
|
|
endif()
|