2019-04-24 09:06:28 +00:00
|
|
|
add_library (daemon
|
2020-03-12 22:26:16 +00:00
|
|
|
BaseDaemon.cpp
|
|
|
|
GraphiteWriter.cpp
|
2020-06-02 18:50:55 +00:00
|
|
|
SentryWriter.cpp
|
|
|
|
)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2020-03-12 22:26:16 +00:00
|
|
|
target_include_directories (daemon PUBLIC ..)
|
2021-02-07 14:37:50 +00:00
|
|
|
|
|
|
|
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 ()
|