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_net.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_net.cmake')
-rw-r--r-- | Modules/FindSDL_net.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindSDL_net.cmake b/Modules/FindSDL_net.cmake index e5c2cdb..ef23573 100644 --- a/Modules/FindSDL_net.cmake +++ b/Modules/FindSDL_net.cmake @@ -54,7 +54,9 @@ find_path(SDL_NET_INCLUDE_DIR SDL_net.h HINTS ENV SDLNETDIR 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 ) if(CMAKE_SIZEOF_VOID_P EQUAL 8) |