From cf37d2b2f602910dbd5ad7bf3e4532e90a009840 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sat, 13 May 2006 02:58:18 +0000 Subject: shhh! if FAM found in cache. svn path=/trunk/KDE/kdelibs/; revision=540331 --- modules/FindFAM.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') 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 -- cgit v1.2.1