Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions ports/poco/find_pcre.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
diff --git a/cmake/FindPCRE.cmake b/cmake/FindPCRE.cmake
index 41a99cb..77f3a42 100644
index 41a99cb57..3236b97e8 100644
--- a/cmake/FindPCRE.cmake
+++ b/cmake/FindPCRE.cmake
@@ -14,7 +14,7 @@ ENDIF (PCRE_INCLUDE_DIRS)
@@ -14,7 +14,11 @@ ENDIF (PCRE_INCLUDE_DIRS)

FIND_PATH(PCRE_INCLUDE_DIR pcre.h)

-SET(PCRE_NAMES pcre)
+SET(PCRE_NAMES pcred pcre)
+if(CMAKE_BUILD_TYPE STREQUAL Debug)
+ SET(PCRE_NAMES pcred pcre)
+else()
+ SET(PCRE_NAMES pcre pcred)
+endif()
FIND_LIBRARY(PCRE_LIBRARY NAMES ${PCRE_NAMES} )

# handle the QUIETLY and REQUIRED arguments and set PCRE_FOUND to TRUE if