2019-04-24 09:06:28 +00:00
|
|
|
add_library (daemon
|
2017-04-01 07:20:54 +00:00
|
|
|
src/BaseDaemon.cpp
|
|
|
|
src/GraphiteWriter.cpp
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2017-04-01 07:20:54 +00:00
|
|
|
include/daemon/BaseDaemon.h
|
|
|
|
include/daemon/GraphiteWriter.h
|
2016-02-07 21:58:58 +00:00
|
|
|
)
|
|
|
|
|
2017-06-23 14:41:07 +00:00
|
|
|
if (USE_UNWIND)
|
2017-08-03 12:44:39 +00:00
|
|
|
target_compile_definitions (daemon PRIVATE USE_UNWIND=1)
|
2017-06-23 14:41:07 +00:00
|
|
|
target_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (daemon PRIVATE ${UNWIND_LIBRARY})
|
2017-06-23 14:41:07 +00:00
|
|
|
endif ()
|
2017-06-23 20:22:35 +00:00
|
|
|
|
2017-08-03 12:44:39 +00:00
|
|
|
target_include_directories (daemon PUBLIC include)
|
|
|
|
|
2019-06-14 14:00:37 +00:00
|
|
|
target_link_libraries (daemon PUBLIC loggers PRIVATE clickhouse_common_io clickhouse_common_config common ${Poco_Net_LIBRARY} ${Poco_Util_LIBRARY} ${EXECINFO_LIBRARIES})
|