diff options
author | Benjamin Eikel <cmake@eikel.org> | 2012-09-04 15:20:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-25 17:55:51 (GMT) |
commit | 9ed24c5316fc4e9b56e3b491dee2f88b2cbb6f17 (patch) | |
tree | 333642cacca21bb289ece6af582ad6978349bcb0 /Modules/FindSDL.cmake | |
parent | 38a0f715745257fda16dd748d046fa549a9192d2 (diff) | |
download | CMake-9ed24c5316fc4e9b56e3b491dee2f88b2cbb6f17.zip CMake-9ed24c5316fc4e9b56e3b491dee2f88b2cbb6f17.tar.gz CMake-9ed24c5316fc4e9b56e3b491dee2f88b2cbb6f17.tar.bz2 |
FindSDL: Remove from find_... calls PATHS that are set by default
Use PATH_SUFFIXES to add SDL parts to standard paths.
Diffstat (limited to 'Modules/FindSDL.cmake')
-rw-r--r-- | Modules/FindSDL.cmake | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake index 1f5e780..5cc219f 100644 --- a/Modules/FindSDL.cmake +++ b/Modules/FindSDL.cmake @@ -70,18 +70,7 @@ find_path(SDL_INCLUDE_DIR SDL.h HINTS ENV SDLDIR - PATH_SUFFIXES include/SDL include - PATHS - ~/Library/Frameworks - /Library/Frameworks - /usr/local/include/SDL12 - /usr/local/include/SDL11 # FreeBSD ports - /usr/include/SDL12 - /usr/include/SDL11 - /sw # Fink - /opt/local # DarwinPorts - /opt/csw # Blastwave - /opt + PATH_SUFFIXES SDL SDL12 SDL11 ) # SDL-1.1 is the name used by FreeBSD ports... @@ -90,12 +79,6 @@ find_library(SDL_LIBRARY_TEMP NAMES SDL SDL-1.1 HINTS ENV SDLDIR - PATH_SUFFIXES lib - PATHS - /sw - /opt/local - /opt/csw - /opt ) if(NOT SDL_BUILDING_LIBRARY) |