ClickHouse/dbms/programs/format/CMakeLists.txt

7 lines
367 B
CMake
Raw Normal View History

add_library (clickhouse-format-lib ${LINK_MODE} Format.cpp)
target_link_libraries (clickhouse-format-lib PRIVATE dbms clickhouse_common_io clickhouse_parsers ${Boost_PROGRAM_OPTIONS_LIBRARY})
2018-06-05 20:09:51 +00:00
if (CLICKHOUSE_SPLIT_BINARY)
add_executable (clickhouse-format clickhouse-format.cpp)
target_link_libraries (clickhouse-format PRIVATE clickhouse-format-lib)
2018-06-05 20:09:51 +00:00
endif ()