diff options
Diffstat (limited to 'modules/FindGIF.cmake')
-rw-r--r-- | modules/FindGIF.cmake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/FindGIF.cmake b/modules/FindGIF.cmake index b7bb1b8b..f8b40d48 100644 --- a/modules/FindGIF.cmake +++ b/modules/FindGIF.cmake @@ -22,18 +22,18 @@ FIND_LIBRARY(GIF_LIBRARIES NAMES gif libgif ungif libungif giflib ${GNUWIN32_DIR}/lib ) -if(GIF_INCLUDE_DIR AND GIF_LIBRARIES) +if (GIF_INCLUDE_DIR AND GIF_LIBRARIES) set(GIF_FOUND TRUE) -endif(GIF_INCLUDE_DIR AND GIF_LIBRARIES) +endif (GIF_INCLUDE_DIR AND GIF_LIBRARIES) -if(GIF_FOUND) - if(NOT GIF_FIND_QUIETLY) +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) + 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) + endif (GIF_FIND_REQUIRED) +endif (GIF_FOUND) MARK_AS_ADVANCED(GIF_INCLUDE_DIR GIF_LIBRARIES) |