diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-07-27 18:34:09 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-07-27 18:34:09 (GMT) |
commit | f97620e733a0939046b5b098da3451b20fd26c96 (patch) | |
tree | 1b6aaa001bfb1767dc7cb5f8066e822e181ff336 /Modules/FindGIF.cmake | |
parent | 7c3852347082a4a0fbeab747d0ec975b72a13c27 (diff) | |
download | CMake-f97620e733a0939046b5b098da3451b20fd26c96.zip CMake-f97620e733a0939046b5b098da3451b20fd26c96.tar.gz CMake-f97620e733a0939046b5b098da3451b20fd26c96.tar.bz2 |
FindGIF/FindFreetype.cmake: remove standard search paths from find-calls
In both files find_path() and find_library() are called with multiple
additional search PATHS which are already anyway part of the default
search dirs, so it should be safe to remove them.
Alex
Diffstat (limited to 'Modules/FindGIF.cmake')
-rw-r--r-- | Modules/FindGIF.cmake | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Modules/FindGIF.cmake b/Modules/FindGIF.cmake index 43802cc..0125346 100644 --- a/Modules/FindGIF.cmake +++ b/Modules/FindGIF.cmake @@ -28,10 +28,7 @@ FIND_PATH(GIF_INCLUDE_DIR gif_lib.h PATH_SUFFIXES include PATHS ~/Library/Frameworks - /Library/Frameworks - /sw/include # Fink - [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include - /usr/freeware/include + /usr/freeware ) # the gif library can have many names :-/ @@ -44,14 +41,6 @@ FIND_LIBRARY(GIF_LIBRARY PATH_SUFFIXES lib64 lib PATHS ~/Library/Frameworks - /Library/Frameworks - /usr/local - /usr - /sw - /opt/local - /opt/csw - /opt - [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT] /usr/freeware ) |