aboutsummaryrefslogtreecommitdiff
path: root/modules/FindGIF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindGIF.cmake')
-rw-r--r--modules/FindGIF.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindGIF.cmake b/modules/FindGIF.cmake
index 0fc4b102..c191d784 100644
--- a/modules/FindGIF.cmake
+++ b/modules/FindGIF.cmake
@@ -25,7 +25,7 @@ FIND_LIBRARY(GIF_LIBRARIES NAMES ${POTENTIAL_GIF_LIBS}
)
if (GIF_INCLUDE_DIR AND GIF_LIBRARIES)
- set(GIF_FOUND TRUE)
+ CHECK_STRUCT_MEMBER(GifFileType UserData gif_lib.h GIF_FOUND)
endif (GIF_INCLUDE_DIR AND GIF_LIBRARIES)
if (GIF_FOUND)