ClickHouse/base/daemon/CMakeLists.txt
2020-05-29 23:08:05 +03:00

12 lines
394 B
CMake

add_library (daemon
BaseDaemon.cpp
GraphiteWriter.cpp
SentryWriter.cpp)
target_include_directories (daemon PUBLIC ..)
target_link_libraries (daemon PUBLIC loggers PRIVATE clickhouse_common_io clickhouse_common_config common ${EXECINFO_LIBRARIES})
if (USE_SENTRY)
target_link_libraries (daemon PRIVATE curl)
target_link_libraries (daemon PRIVATE ${SENTRY_LIBRARY})
endif ()