mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
3acce3bff9
* Build fix * Better sample build scripts * zlib apple fix * fix * fix * better so version * SPLIT_SHARED -> LINK_MODE * clean
7 lines
332 B
CMake
7 lines
332 B
CMake
add_library (clickhouse-format-lib ${LINK_MODE} 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 ()
|