aboutsummaryrefslogtreecommitdiff
path: root/modules/FindFAM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindFAM.cmake')
-rw-r--r--modules/FindFAM.cmake28
1 files changed, 14 insertions, 14 deletions
diff --git a/modules/FindFAM.cmake b/modules/FindFAM.cmake
index 0479bc8f..b61fc4e7 100644
--- a/modules/FindFAM.cmake
+++ b/modules/FindFAM.cmake
@@ -17,20 +17,20 @@ FIND_LIBRARY(FAM_LIBRARIES NAMES fam
)
-IF(FAM_INCLUDE_DIR AND FAM_LIBRARIES)
- SET(FAM_FOUND TRUE)
-ENDIF(FAM_INCLUDE_DIR AND FAM_LIBRARIES)
-
-
-IF(FAM_FOUND)
- IF(NOT FAM_FIND_QUIETLY)
- MESSAGE(STATUS "Found fam: ${FAM_LIBRARIES}")
- ENDIF(NOT FAM_FIND_QUIETLY)
-ELSE(FAM_FOUND)
- IF(FAM_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find fam library")
- ENDIF(FAM_FIND_REQUIRED)
-ENDIF(FAM_FOUND)
+if(FAM_INCLUDE_DIR AND FAM_LIBRARIES)
+ set(FAM_FOUND TRUE)
+endif(FAM_INCLUDE_DIR AND FAM_LIBRARIES)
+
+
+if(FAM_FOUND)
+ if(not FAM_FIND_QUIETLY)
+ message(STATUS "Found fam: ${FAM_LIBRARIES}")
+ endif(not FAM_FIND_QUIETLY)
+else(FAM_FOUND)
+ if(FAM_FIND_REQUIRED)
+ message(FATAL_ERROR "Could not find fam library")
+ endif(FAM_FIND_REQUIRED)
+endif(FAM_FOUND)
MARK_AS_ADVANCED(FAM_INCLUDE_DIR FAM_LIBRARIES)