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_mixer.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_mixer.cmake')
-rw-r--r-- | Modules/FindSDL_mixer.cmake | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/Modules/FindSDL_mixer.cmake b/Modules/FindSDL_mixer.cmake index 7a935c4..61fe1ae 100644 --- a/Modules/FindSDL_mixer.cmake +++ b/Modules/FindSDL_mixer.cmake @@ -36,18 +36,7 @@ find_path(SDL_MIXER_INCLUDE_DIR SDL_mixer.h HINTS ENV SDLMIXERDIR ENV SDLDIR - PATH_SUFFIXES include include/SDL - 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 ) find_library(SDL_MIXER_LIBRARY @@ -55,14 +44,6 @@ find_library(SDL_MIXER_LIBRARY HINTS ENV SDLMIXERDIR ENV SDLDIR - PATH_SUFFIXES lib - PATHS - ~/Library/Frameworks - /Library/Frameworks - /sw - /opt/local - /opt/csw - /opt ) if(SDL_MIXER_INCLUDE_DIR AND EXISTS "${SDL_MIXER_INCLUDE_DIR}/SDL_mixer.h") |