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_sound.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_sound.cmake')
-rw-r--r-- | Modules/FindSDL_sound.cmake | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake index 7c4b04e..5ff50be 100644 --- a/Modules/FindSDL_sound.cmake +++ b/Modules/FindSDL_sound.cmake @@ -77,17 +77,7 @@ find_path(SDL_SOUND_INCLUDE_DIR SDL_sound.h HINTS ENV SDLSOUNDDIR ENV SDLDIR - PATH_SUFFIXES - include include/SDL - PATHS - /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 ) find_library(SDL_SOUND_LIBRARY @@ -95,13 +85,6 @@ find_library(SDL_SOUND_LIBRARY HINTS ENV SDLSOUNDDIR ENV SDLDIR - PATH_SUFFIXES - lib - PATHS - /sw - /opt/local - /opt/csw - /opt ) if(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY) |