aboutsummaryrefslogtreecommitdiff
path: root/modules/FindGIF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindGIF.cmake')
-rw-r--r--modules/FindGIF.cmake24
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/FindGIF.cmake b/modules/FindGIF.cmake
index 94e75388..6222b0d8 100644
--- a/modules/FindGIF.cmake
+++ b/modules/FindGIF.cmake
@@ -19,18 +19,18 @@ FIND_LIBRARY(GIF_LIBRARIES NAMES gif libgif ungif libungif giflib
/usr/local/lib
)
-IF(GIF_INCLUDE_DIR AND GIF_LIBRARIES)
- SET(GIF_FOUND TRUE)
-ENDIF(GIF_INCLUDE_DIR AND GIF_LIBRARIES)
+if(GIF_INCLUDE_DIR AND GIF_LIBRARIES)
+ set(GIF_FOUND TRUE)
+endif(GIF_INCLUDE_DIR AND GIF_LIBRARIES)
-IF(GIF_FOUND)
- IF(NOT GIF_FIND_QUIETLY)
- MESSAGE(STATUS "Found GIF: ${GIF_LIBRARIES}")
- ENDIF(NOT GIF_FIND_QUIETLY)
-ELSE(GIF_FOUND)
- IF(GIF_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find GIF")
- ENDIF(GIF_FIND_REQUIRED)
-ENDIF(GIF_FOUND)
+if(GIF_FOUND)
+ if(not GIF_FIND_QUIETLY)
+ message(STATUS "Found GIF: ${GIF_LIBRARIES}")
+ endif(not GIF_FIND_QUIETLY)
+else(GIF_FOUND)
+ if(GIF_FIND_REQUIRED)
+ message(FATAL_ERROR "Could not find GIF")
+ endif(GIF_FIND_REQUIRED)
+endif(GIF_FOUND)
MARK_AS_ADVANCED(GIF_INCLUDE_DIR GIF_LIBRARIES)