2018-08-27 14:39:20 +00:00
|
|
|
add_library (pocoext ${LINK_MODE}
|
2017-04-01 07:20:54 +00:00
|
|
|
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
|
|
|
|
2017-04-01 07:20:54 +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)
|
2018-09-14 19:48:51 +00:00
|
|
|
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
|
|
|
|
2017-08-03 12:44:39 +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)
|
2018-06-06 20:21:58 +00:00
|
|
|
target_include_directories (pocoext SYSTEM BEFORE PUBLIC ${Poco_INCLUDE_DIRS})
|
2018-01-18 18:26:36 +00:00
|
|
|
endif ()
|
|
|
|
|
2018-09-14 19:48:51 +00:00
|
|
|
target_link_libraries(pocoext PUBLIC ${Poco_Foundation_LIBRARY})
|