mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
d6833a0d55
* Fix .h compile * Cmake: remove global include_directories * boost include hide * fix cctz * add \n
21 lines
613 B
CMake
21 lines
613 B
CMake
add_library (daemon
|
|
src/BaseDaemon.cpp
|
|
src/GraphiteWriter.cpp
|
|
src/OwnPatternFormatter.cpp
|
|
|
|
include/daemon/BaseDaemon.h
|
|
include/daemon/GraphiteWriter.h
|
|
include/daemon/OwnPatternFormatter.h
|
|
)
|
|
|
|
if (USE_UNWIND)
|
|
target_compile_definitions (daemon PRIVATE USE_UNWIND=1)
|
|
target_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
|
|
target_link_libraries (daemon ${UNWIND_LIBRARY})
|
|
endif ()
|
|
|
|
target_include_directories (daemon PUBLIC include)
|
|
target_include_directories (daemon PRIVATE ${ClickHouse_SOURCE_DIR}/libs/libpocoext/include)
|
|
|
|
target_link_libraries (daemon dbms)
|