aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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