mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
b7f92454bf
This will simplify linking dependencies, and anyway this classes are not base in any sense. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
26 lines
665 B
CMake
26 lines
665 B
CMake
set (CLICKHOUSE_CLIENT_SOURCES
|
|
Client.cpp
|
|
)
|
|
|
|
set (CLICKHOUSE_CLIENT_LINK
|
|
PRIVATE
|
|
boost::program_options
|
|
clickhouse_aggregate_functions
|
|
clickhouse_common_config
|
|
clickhouse_common_io
|
|
clickhouse_functions
|
|
clickhouse_parsers
|
|
string_utils
|
|
)
|
|
|
|
if (TARGET ch_rust::skim)
|
|
list(APPEND CLICKHOUSE_CLIENT_LINK PRIVATE ch_rust::skim)
|
|
endif()
|
|
|
|
# Always use internal readpassphrase
|
|
list(APPEND CLICKHOUSE_CLIENT_LINK PRIVATE readpassphrase)
|
|
|
|
clickhouse_program_add(client)
|
|
|
|
install (FILES clickhouse-client.xml DESTINATION "${CLICKHOUSE_ETC_DIR}/clickhouse-client" COMPONENT clickhouse-client RENAME config.xml)
|