aboutsummaryrefslogtreecommitdiff
path: root/modules/FindCups.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindCups.cmake')
-rw-r--r--modules/FindCups.cmake24
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/FindCups.cmake b/modules/FindCups.cmake
index fa97b6f1..f0689036 100644
--- a/modules/FindCups.cmake
+++ b/modules/FindCups.cmake
@@ -19,18 +19,18 @@ FIND_LIBRARY(CUPS_LIBRARIES NAMES cups
/usr/local/lib
)
-IF(CUPS_INCLUDE_DIR AND CUPS_LIBRARIES)
- SET(CUPS_FOUND TRUE)
-ENDIF(CUPS_INCLUDE_DIR AND CUPS_LIBRARIES)
+if(CUPS_INCLUDE_DIR AND CUPS_LIBRARIES)
+ set(CUPS_FOUND TRUE)
+endif(CUPS_INCLUDE_DIR AND CUPS_LIBRARIES)
-IF(CUPS_FOUND)
- IF(NOT Cups_FIND_QUIETLY)
- MESSAGE(STATUS "Found Cups: ${CUPS_LIBRARIES}")
- ENDIF(NOT Cups_FIND_QUIETLY)
-ELSE(CUPS_FOUND)
- IF(Cups_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find Cups")
- ENDIF(Cups_FIND_REQUIRED)
-ENDIF(CUPS_FOUND)
+if(CUPS_FOUND)
+ if(not Cups_FIND_QUIETLY)
+ message(STATUS "Found Cups: ${CUPS_LIBRARIES}")
+ endif(not Cups_FIND_QUIETLY)
+else(CUPS_FOUND)
+ if(Cups_FIND_REQUIRED)
+ message(FATAL_ERROR "Could not find Cups")
+ endif(Cups_FIND_REQUIRED)
+endif(CUPS_FOUND)
MARK_AS_ADVANCED(CUPS_INCLUDE_DIR CUPS_LIBRARIES)