diff options
Diffstat (limited to 'Modules/FindGIF.cmake')
-rw-r--r-- | Modules/FindGIF.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindGIF.cmake b/Modules/FindGIF.cmake index 320cdb6..305be68 100644 --- a/Modules/FindGIF.cmake +++ b/Modules/FindGIF.cmake @@ -16,11 +16,7 @@ FIND_PATH(GIF_INCLUDE_DIR gif_lib.h PATH_SUFFIXES include ) -FIND_PATH(GIF_INCLUDE_DIR gif_lib.h - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(GIF_INCLUDE_DIR gif_lib.h PATHS @@ -42,12 +38,7 @@ FIND_LIBRARY(GIF_LIBRARY PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(GIF_LIBRARY - NAMES ${POTENTIAL_GIF_LIBS} - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(GIF_LIBRARY NAMES ${POTENTIAL_GIF_LIBS} |