ClickHouse/base/daemon/CMakeLists.txt

18 lines
490 B
CMake
Raw Normal View History

add_library (daemon
BaseDaemon.cpp
GraphiteWriter.cpp
2020-06-02 18:50:55 +00:00
SentryWriter.cpp
)
2016-02-07 21:58:58 +00:00
target_include_directories (daemon PUBLIC ..)
if (OS_DARWIN AND NOT USE_STATIC_LIBRARIES)
target_link_libraries (daemon PUBLIC -Wl,-undefined,dynamic_lookup)
endif()
2020-06-02 19:25:34 +00:00
target_link_libraries (daemon PUBLIC loggers PRIVATE clickhouse_common_io clickhouse_common_config common ${EXECINFO_LIBRARIES})
2022-01-17 22:08:35 +00:00
if (TARGET ch_contrib::sentry)
target_link_libraries (daemon PRIVATE ch_contrib::sentry)
2020-06-15 23:51:33 +00:00
endif ()