From 509b5e18f3ba6f4c5ccd27470f48f89d7ec2fc5e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 2 Jul 2007 12:44:24 +0000 Subject: Be silent if already found svn path=/trunk/KDE/kdelibs/; revision=682336 --- modules/FindPlasma.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/FindPlasma.cmake b/modules/FindPlasma.cmake index f256a453..b0f1b377 100644 --- a/modules/FindPlasma.cmake +++ b/modules/FindPlasma.cmake @@ -8,10 +8,10 @@ # For details see the accompanying COPYING-CMAKE-SCRIPTS file. -if (PLASMA_INCLUDE_DIR) +if (PLASMA_INCLUDE_DIR AND PLASMA_LIBRARIES) # Already in cache, be silent - set(PLASMA_FOUND TRUE) -endif (PLASMA_INCLUDE_DIR) + set(Plasma_FIND_QUIETLY TRUE) +endif (PLASMA_INCLUDE_DIR AND PLASMA_LIBRARIES) find_path(PLASMA_INCLUDE_DIR NAMES plasma/kpanelapplet.h -- cgit v1.2.1