aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2010-04-28 07:10:39 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2010-04-28 07:10:39 +0000
commitd2473a5cc45b2a110b38dc79d21dd9d5397553b6 (patch)
tree38a99ff3c94c773097794f28e32a3b045411206a /modules
parent8c340cde65c1be92249ee11b50c2583b60d1dd21 (diff)
downloadextra-cmake-modules-d2473a5cc45b2a110b38dc79d21dd9d5397553b6.tar.gz
extra-cmake-modules-d2473a5cc45b2a110b38dc79d21dd9d5397553b6.tar.bz2
win32 debug builds uses 'd' suffix
svn path=/trunk/KDE/kdelibs/; revision=1120015
Diffstat (limited to 'modules')
-rw-r--r--modules/FindPCRE.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindPCRE.cmake b/modules/FindPCRE.cmake
index c8f8326d..0fe3210a 100644
--- a/modules/FindPCRE.cmake
+++ b/modules/FindPCRE.cmake
@@ -32,9 +32,9 @@ find_path(PCRE_INCLUDE_DIR pcre.h
HINTS ${PC_PCRE_INCLUDEDIR} ${PC_PCRE_INCLUDE_DIRS}
PATH_SUFFIXES pcre)
-find_library(PCRE_PCRE_LIBRARY NAMES pcre HINTS ${PC_PCRE_LIBDIR} ${PC_PCRE_LIBRARY_DIRS})
+find_library(PCRE_PCRE_LIBRARY NAMES pcre pcred HINTS ${PC_PCRE_LIBDIR} ${PC_PCRE_LIBRARY_DIRS})
-find_library(PCRE_PCREPOSIX_LIBRARY NAMES pcreposix HINTS ${PC_PCRE_LIBDIR} ${PC_PCRE_LIBRARY_DIRS})
+find_library(PCRE_PCREPOSIX_LIBRARY NAMES pcreposix pcreposixd HINTS ${PC_PCRE_LIBDIR} ${PC_PCRE_LIBRARY_DIRS})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PCRE DEFAULT_MSG PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY PCRE_PCREPOSIX_LIBRARY )