summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-06 19:13:18 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-11-06 19:13:18 (GMT)
commit688631a43b3eb08d00636ac716ca4657f67eef4a (patch)
treefeee0d9d345fcee94499a7d26ab241ff7836d69b /Modules
parent11b8a44cfce1ad2383172760b9ac07a670b376fc (diff)
parent7cb5173969bc78bebdf2fe5c0aeb2d54712f8734 (diff)
downloadCMake-688631a43b3eb08d00636ac716ca4657f67eef4a.zip
CMake-688631a43b3eb08d00636ac716ca4657f67eef4a.tar.gz
CMake-688631a43b3eb08d00636ac716ca4657f67eef4a.tar.bz2
Merge topic 'fix-FindSDL-paths'
7cb5173 FindSDL: Restore accidentally dropped search paths (#13651)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindSDL.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake
index 9359323..f2e9f25 100644
--- a/Modules/FindSDL.cmake
+++ b/Modules/FindSDL.cmake
@@ -70,7 +70,7 @@
find_path(SDL_INCLUDE_DIR SDL.h
HINTS
ENV SDLDIR
- PATH_SUFFIXES SDL SDL12 SDL11
+ PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
)
# SDL-1.1 is the name used by FreeBSD ports...
@@ -79,6 +79,7 @@ find_library(SDL_LIBRARY_TEMP
NAMES SDL SDL-1.1
HINTS
ENV SDLDIR
+ PATH_SUFFIXES lib
)
if(NOT SDL_BUILDING_LIBRARY)