vcpkg/ports/poco/find_pcre.patch

14 lines
414 B
Diff
Raw Normal View History

diff --git a/cmake/FindPCRE.cmake b/cmake/FindPCRE.cmake
index 41a99cb..77f3a42 100644
--- a/cmake/FindPCRE.cmake
+++ b/cmake/FindPCRE.cmake
@@ -14,7 +14,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