CMake: add -DPOCO_UNBUNDLED when unbundling.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-11-10 16:07:28 +01:00
parent 095981ce6d
commit b8e89231fc

View File

@ -48,6 +48,9 @@ if (POCO_UNBUNDLED)
find_package(ZLIB REQUIRED) find_package(ZLIB REQUIRED)
set(SYSLIBS ${SYSLIBS} ${ZLIB_LIBRARIES}) set(SYSLIBS ${SYSLIBS} ${ZLIB_LIBRARIES})
include_directories(${ZLIB_INCLUDE_DIRS}) include_directories(${ZLIB_INCLUDE_DIRS})
add_definitions(-DPOCO_UNBUNDLED)
else() else()
# pcre # pcre
POCO_SOURCES( SRCS pcre POCO_SOURCES( SRCS pcre