diff options
Diffstat (limited to 'modules')
| -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  | 
