ClickHouse/libs/libpocoext/CMakeLists.txt
proller d752d5d62d Prepare to new poco, build fixes (#3072)
* WIp

* fix

* fix

* test

* fix poco netssl find

* clean

* fixes

* wip

* wip

* new poco

* fixes

* Fixes

* wip

*  clean

* clean

*     clean

* clean

* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00

22 lines
695 B
CMake

add_library (pocoext ${LINK_MODE}
src/LevelFilterChannel.cpp
src/ThreadNumber.cpp
src/SessionPoolHelpers.cpp
include/Poco/Ext/LevelFilterChannel.h
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})
endif()
target_include_directories (pocoext PUBLIC include PRIVATE ${COMMON_INCLUDE_DIR})
if (NOT USE_INTERNAL_POCO_LIBRARY)
target_include_directories (pocoext SYSTEM BEFORE PUBLIC ${Poco_INCLUDE_DIRS})
endif ()
target_link_libraries(pocoext PUBLIC ${Poco_Foundation_LIBRARY})