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

7 lines
335 B
CMake

add_library (clickhouse-format-lib ${SPLIT_SHARED} Format.cpp)
target_link_libraries (clickhouse-format-lib dbms clickhouse_common_io ${Boost_PROGRAM_OPTIONS_LIBRARY})
if (CLICKHOUSE_SPLIT_BINARY)
add_executable (clickhouse-format clickhouse-format.cpp)
target_link_libraries (clickhouse-format clickhouse-format-lib)
endif ()