mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
3acce3bff9
* Build fix * Better sample build scripts * zlib apple fix * fix * fix * better so version * SPLIT_SHARED -> LINK_MODE * clean
9 lines
497 B
CMake
9 lines
497 B
CMake
add_library (clickhouse-benchmark-lib ${LINK_MODE} Benchmark.cpp)
|
|
target_link_libraries (clickhouse-benchmark-lib clickhouse-client-lib clickhouse_common_io ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
|
target_include_directories (clickhouse-benchmark-lib SYSTEM PRIVATE ${PCG_RANDOM_INCLUDE_DIR})
|
|
|
|
if (CLICKHOUSE_SPLIT_BINARY)
|
|
add_executable (clickhouse-benchmark clickhouse-benchmark.cpp)
|
|
target_link_libraries (clickhouse-benchmark clickhouse-benchmark-lib clickhouse_aggregate_functions)
|
|
endif ()
|