This commit is contained in:
Alexander Karatarakis 2017-02-06 15:55:59 -08:00
commit 63e33061e1
3 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
Source: poco
Version: 1.7.6-2
Version: 1.7.6-3
Build-Depends: zlib, pcre, sqlite3, expat
Description: Modern, powerful open source C++ class libraries for building network and internet-based applications that run on desktop, server, mobile and embedded systems.

View File

@ -0,0 +1,12 @@
diff --git a/Foundation/CMakeLists.txt b/Foundation/CMakeLists.txt
index 76005b1..efc99b6 100644
--- a/Foundation/CMakeLists.txt
+++ b/Foundation/CMakeLists.txt
@@ -166,6 +166,7 @@ target_link_libraries( "${LIBNAME}" ${SYSLIBS})
target_include_directories( "${LIBNAME}"
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+ $<BUILD_INTERFACE:${PCRE_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
)

View File

@ -13,6 +13,7 @@ vcpkg_apply_patches(
PATCHES
${CMAKE_CURRENT_LIST_DIR}/config_h.patch
${CMAKE_CURRENT_LIST_DIR}/find_pcre.patch
${CMAKE_CURRENT_LIST_DIR}/foundation-public-include-pcre.patch
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)