mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 05:06:36 +08:00
Fix poco-pcre debug link issue
Should fix: https://github.com/Microsoft/vcpkg/issues/302
This commit is contained in:
parent
a7af1a727e
commit
f3cb18292c
@ -1,4 +1,4 @@
|
||||
Source: poco
|
||||
Version: 1.7.6-1
|
||||
Version: 1.7.6-2
|
||||
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.
|
13
ports/poco/find_pcre.patch
Normal file
13
ports/poco/find_pcre.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/FindPCRE.cmake b/cmake/FindPCRE.cmake
|
||||
index 03f07df..4da1895 100644
|
||||
--- a/cmake/FindPCRE.cmake
|
||||
+++ b/cmake/FindPCRE.cmake
|
||||
@@ -16,7 +16,7 @@ ENDIF (PCRE_INCLUDE_DIRS)
|
||||
|
||||
FIND_PATH(PCRE_INCLUDE_DIR pcre.h)
|
||||
|
||||
-SET(PCRE_NAMES pcre)
|
||||
+SET(PCRE_NAMES pcred pcre)
|
||||
FIND_LIBRARY(PCRE_LIBRARY NAMES ${PCRE_NAMES} )
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set PCRE_FOUND to TRUE if
|
@ -12,6 +12,7 @@ vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES
|
||||
${CMAKE_CURRENT_LIST_DIR}/config_h.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/find_pcre.patch
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
|
Loading…
Reference in New Issue
Block a user