ClickHouse/libs/libpocoext/CMakeLists.txt

22 lines
742 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_DIRS})
2018-04-07 03:07:32 +00:00
target_link_libraries(pocoext ${Poco_Data_LIBRARY})
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 ${Poco_Util_LIBRARY} ${Poco_Net_LIBRARY} ${Poco_XML_LIBRARY} ${Poco_Foundation_LIBRARY})