diff options
author | Laurent Montel <montel@kde.org> | 2007-07-02 12:44:24 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2007-07-02 12:44:24 +0000 |
commit | 509b5e18f3ba6f4c5ccd27470f48f89d7ec2fc5e (patch) | |
tree | 0d187fa81266620f802a6bf91e9c6c1e869c44b5 | |
parent | 68cefa4fe6aa956ecb3d57b169d69ec9ddfe98ba (diff) | |
download | extra-cmake-modules-509b5e18f3ba6f4c5ccd27470f48f89d7ec2fc5e.tar.gz extra-cmake-modules-509b5e18f3ba6f4c5ccd27470f48f89d7ec2fc5e.tar.bz2 |
Be silent if already found
svn path=/trunk/KDE/kdelibs/; revision=682336
-rw-r--r-- | modules/FindPlasma.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
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 |