ClickHouse/libs/libdaemon/CMakeLists.txt

21 lines
567 B
CMake
Raw Normal View History

include_directories (include)
2016-02-07 21:58:58 +00:00
add_library (daemon
src/BaseDaemon.cpp
src/GraphiteWriter.cpp
src/OwnPatternFormatter.cpp
2016-02-07 21:58:58 +00:00
include/daemon/BaseDaemon.h
include/daemon/GraphiteWriter.h
include/daemon/OwnPatternFormatter.h
2016-02-07 21:58:58 +00:00
)
if (USE_UNWIND)
target_include_directories (daemon BEFORE PRIVATE ${UNWIND_INCLUDE_DIR})
add_definitions(-DUSE_UNWIND=1)
target_link_libraries (daemon ${UNWIND_LIBRARY})
endif ()
target_link_libraries (daemon dbms)
target_include_directories (daemon PRIVATE ${ClickHouse_SOURCE_DIR}/libs/libpocoext/include)