From 7c13fc7bce1d1df1338bd5c4a2e023994776b36e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 8 Aug 2007 11:35:11 +0000 Subject: 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 --- modules/FindPCRE.cmake | 4 ++-- 1 file 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 ) -- cgit v1.2.1