summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-09 14:23:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-09 14:23:23 (GMT)
commit1c1a904328093933d6d228d8117e5fd7231defb2 (patch)
tree962d1df8df2bcb7bbd95bf712adb7db9a50b0bef /Modules
parente81b6742f72869a25e59230948a34a02f504046d (diff)
parentc5c217c6b53b035303747a2971b1b80be5391566 (diff)
downloadCMake-1c1a904328093933d6d228d8117e5fd7231defb2.zip
CMake-1c1a904328093933d6d228d8117e5fd7231defb2.tar.gz
CMake-1c1a904328093933d6d228d8117e5fd7231defb2.tar.bz2
Merge topic 'FindSDL-path-suffixes'
c5c217c FindSDL: Add path suffixes for <prefix>/include/(SDL|SDL12|SDL11)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindSDL.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake
index fec142e..a4f12ba 100644
--- a/Modules/FindSDL.cmake
+++ b/Modules/FindSDL.cmake
@@ -70,7 +70,9 @@
find_path(SDL_INCLUDE_DIR SDL.h
HINTS
ENV SDLDIR
- PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
+ PATH_SUFFIXES SDL SDL12 SDL11
+ # path suffixes to search inside ENV{SDLDIR}
+ include/SDL include/SDL12 include/SDL11 include
)
# SDL-1.1 is the name used by FreeBSD ports...