ClickHouse/base/daemon/CMakeLists.txt

18 lines
475 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 MAKE_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})
if (USE_SENTRY)
target_link_libraries (daemon PRIVATE ${SENTRY_LIBRARY})
2020-06-15 23:51:33 +00:00
endif ()