aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2007-08-08 11:35:11 +0000
committerLaurent Montel <montel@kde.org>2007-08-08 11:35:11 +0000
commit7c13fc7bce1d1df1338bd5c4a2e023994776b36e (patch)
tree66cb16dc3b1fc7c669805c89a777a9fbb6b0d921
parent6b0cda9db133c1e449d59dd4519ba18425c564bd (diff)
downloadextra-cmake-modules-7c13fc7bce1d1df1338bd5c4a2e023994776b36e.tar.gz
extra-cmake-modules-7c13fc7bce1d1df1338bd5c4a2e023994776b36e.tar.bz2
Look at all variable and not just libs variable which can be
not empty but some variable can be null svn path=/trunk/KDE/kdelibs/; revision=697674
-rw-r--r--modules/FindPCRE.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindPCRE.cmake b/modules/FindPCRE.cmake
index a3469e59..f0cc940d 100644
--- a/modules/FindPCRE.cmake
+++ b/modules/FindPCRE.cmake
@@ -11,10 +11,10 @@
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-if (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES)
+if (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES AND PCRE_PCREPOSIX_LIBRARY AND PCRE_PCRE_LIBRARY)
# Already in cache, be silent
set(PCRE_FIND_QUIETLY TRUE)
-endif (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES)
+endif (PCRE_INCLUDE_DIR AND PCRE_LIBRARIES AND PCRE_PCREPOSIX_LIBRARY AND PCRE_PCRE_LIBRARY)
FIND_PATH(PCRE_INCLUDE_DIR pcre.h )