diff options
author | Brad King <brad.king@kitware.com> | 2014-03-06 21:18:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-10 13:40:34 (GMT) |
commit | d71db3a0d88fd41c7e8f3ef23368e919d5c5cded (patch) | |
tree | acd24022d7052c44adf261f438d5d1ad88cacc43 /Modules/FindSDL_sound.cmake | |
parent | 581abf6d312614cf1d01f86d7f4feba344252422 (diff) | |
download | CMake-d71db3a0d88fd41c7e8f3ef23368e919d5c5cded.zip CMake-d71db3a0d88fd41c7e8f3ef23368e919d5c5cded.tar.gz CMake-d71db3a0d88fd41c7e8f3ef23368e919d5c5cded.tar.bz2 |
FindSDL: Make FindSDL_*.cmake path suffixes consistent with main module
Add the 'SDL' path suffix to the FindSDL_*.cmake modules. Add a comment
explaining the purpose of suffixes as in commit v3.0.0-rc1~540^2
(FindSDL: Add path suffixes for <prefix>/include/..., 2013-10-08).
Inspired-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Diffstat (limited to 'Modules/FindSDL_sound.cmake')
-rw-r--r-- | Modules/FindSDL_sound.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake index 3a6ab7b..8b22ff7 100644 --- a/Modules/FindSDL_sound.cmake +++ b/Modules/FindSDL_sound.cmake @@ -98,7 +98,9 @@ find_path(SDL_SOUND_INCLUDE_DIR SDL_sound.h HINTS ENV SDLSOUNDDIR ENV SDLDIR - PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include + PATH_SUFFIXES SDL + # path suffixes to search inside ENV{SDLDIR} + include/SDL include/SDL12 include/SDL11 include ) find_library(SDL_SOUND_LIBRARY |