aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2006-05-13 02:58:18 +0000
committerAllen Winter <winter@kde.org>2006-05-13 02:58:18 +0000
commitcf37d2b2f602910dbd5ad7bf3e4532e90a009840 (patch)
treeb4fed75ad32fb0701fc980c08d108fa1a7087395
parentf6f5908cfe66fbfe3264ff49654d4cc2cea8fd6d (diff)
downloadextra-cmake-modules-cf37d2b2f602910dbd5ad7bf3e4532e90a009840.tar.gz
extra-cmake-modules-cf37d2b2f602910dbd5ad7bf3e4532e90a009840.tar.bz2
shhh! if FAM found in cache.
svn path=/trunk/KDE/kdelibs/; revision=540331
-rw-r--r--modules/FindFAM.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindFAM.cmake b/modules/FindFAM.cmake
index 164841c8..e0a92b72 100644
--- a/modules/FindFAM.cmake
+++ b/modules/FindFAM.cmake
@@ -5,6 +5,11 @@
# FAM_INCLUDE_DIR - the FAM include directory
# FAM_LIBRARIES - The libraries needed to use FAM
+if (FAM_INCLUDE_DIR)
+ # Already in cache, be silent
+ set(FAM_FIND_QUIETLY TRUE)
+endif (FAM_INCLUDE_DIR)
+
FIND_PATH(FAM_INCLUDE_DIR fam.h
/usr/include
/usr/local/include