ClickHouse/dbms/programs/copier/CMakeLists.txt
Alexey Milovidov 51044279e5 Squashed #2471
2018-06-05 23:09:51 +03:00

8 lines
342 B
CMake

add_library (clickhouse-copier-lib ClusterCopier.cpp)
target_link_libraries (clickhouse-copier-lib clickhouse-server-lib clickhouse_functions clickhouse_aggregate_functions)
if (CLICKHOUSE_SPLIT_BINARY)
add_executable (clickhouse-copier clickhouse-copier.cpp)
target_link_libraries (clickhouse-copier clickhouse-copier-lib)
endif ()