ClickHouse/libs/libpocoext/CMakeLists.txt

22 lines
695 B
CMake
Raw Normal View History

add_library (pocoext ${LINK_MODE}
src/LevelFilterChannel.cpp
src/ThreadNumber.cpp
2018-04-07 03:07:32 +00:00
src/SessionPoolHelpers.cpp
2016-02-07 21:58:58 +00:00
include/Poco/Ext/LevelFilterChannel.h
2018-04-07 03:07:32 +00:00
include/Poco/Ext/ThreadNumber.h
include/Poco/Ext/SessionPoolHelpers.h)
if (Poco_Data_FOUND)
target_include_directories (pocoext SYSTEM PRIVATE ${Poco_Data_INCLUDE_DIR})
target_link_libraries(pocoext PRIVATE ${Poco_Data_LIBRARY})
2018-04-07 03:07:32 +00:00
endif()
2016-02-07 21:58:58 +00:00
target_include_directories (pocoext PUBLIC include PRIVATE ${COMMON_INCLUDE_DIR})
2018-01-18 18:26:36 +00:00
if (NOT USE_INTERNAL_POCO_LIBRARY)
target_include_directories (pocoext SYSTEM BEFORE PUBLIC ${Poco_INCLUDE_DIRS})
2018-01-18 18:26:36 +00:00
endif ()
target_link_libraries(pocoext PUBLIC ${Poco_Foundation_LIBRARY})