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
|
|
|
|
2022-01-24 11:32:17 +00:00
|
|
|
if (OS_DARWIN AND NOT USE_STATIC_LIBRARIES)
|
2021-02-07 14:37:50 +00:00
|
|
|
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 ()
|