diff options
author | Brad King <brad.king@kitware.com> | 2018-02-26 15:45:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-02-26 15:52:11 (GMT) |
commit | 7b1c14241ddd120fbf93d206c8b3708b38556263 (patch) | |
tree | b232aa73a34722cbed5e9af192660c9442118b1e /Modules/FindGIF.cmake | |
parent | 9c1efb614dee294cb3a1077e8a232573f309c605 (diff) | |
download | CMake-7b1c14241ddd120fbf93d206c8b3708b38556263.zip CMake-7b1c14241ddd120fbf93d206c8b3708b38556263.tar.gz CMake-7b1c14241ddd120fbf93d206c8b3708b38556263.tar.bz2 |
Modules: Restore recently removed search path suffixes
Refactoring in commit v3.11.0-rc1~293^2~4 (Modules: Remove paths set as
global Unix prefixes, 2017-11-20) removed `PATH_SUFFIXES` options that
appeared to be used to cover subdirectories of the `PATHS` options that
were also removed. However, the path suffixes also apply to other
search paths and so should not be removed. Restore them.
Fixes: #17760
Diffstat (limited to 'Modules/FindGIF.cmake')
-rw-r--r-- | Modules/FindGIF.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindGIF.cmake b/Modules/FindGIF.cmake index 4b2f882..efc3973 100644 --- a/Modules/FindGIF.cmake +++ b/Modules/FindGIF.cmake @@ -30,6 +30,7 @@ find_path(GIF_INCLUDE_DIR gif_lib.h HINTS ENV GIF_DIR + PATH_SUFFIXES include ) # the gif library can have many names :-/ @@ -39,6 +40,7 @@ find_library(GIF_LIBRARY NAMES ${POTENTIAL_GIF_LIBS} HINTS ENV GIF_DIR + PATH_SUFFIXES lib ) # see readme.txt |