ClickHouse/programs/local/CMakeLists.txt

10 lines
535 B
CMake
Raw Normal View History

2019-03-04 17:47:31 +00:00
set(CLICKHOUSE_LOCAL_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/LocalServer.cpp)
set(CLICKHOUSE_LOCAL_LINK PRIVATE clickhouse_storages_system clickhouse_dictionaries clickhouse_common_config clickhouse_common_io clickhouse_functions clickhouse_aggregate_functions clickhouse_parsers clickhouse_table_functions ${Boost_PROGRAM_OPTIONS_LIBRARY})
2019-03-04 17:47:31 +00:00
#set(CLICKHOUSE_LOCAL_INCLUDE SYSTEM PRIVATE ...)
2018-06-05 20:09:51 +00:00
2019-03-04 17:47:31 +00:00
clickhouse_program_add(local)
if(NOT CLICKHOUSE_ONE_SHARED)
target_link_libraries(clickhouse-local-lib PRIVATE clickhouse-server-lib)
endif()