summaryrefslogtreecommitdiffstats
path: root/Modules/FindSDL_image.cmake
diff options
context:
space:
mode:
authorBenjamin Eikel <cmake@eikel.org>2012-12-30 15:12:34 (GMT)
committerBenjamin Eikel <cmake@eikel.org>2012-12-30 15:13:51 (GMT)
commitfb864d6e03efdb82f8f2744972ad14c012d86cc7 (patch)
treef08ab40a1cd5dd37cc836c0279ba1283b401b14c /Modules/FindSDL_image.cmake
parent1d3b35fd8a59c6f987b4caab17330955dbaf32bc (diff)
downloadCMake-fb864d6e03efdb82f8f2744972ad14c012d86cc7.zip
CMake-fb864d6e03efdb82f8f2744972ad14c012d86cc7.tar.gz
CMake-fb864d6e03efdb82f8f2744972ad14c012d86cc7.tar.bz2
FindSDL_...: Restore dropped search paths (#13819)
Restore the search paths that were accidentally dropped by me in commit 9ed24c53. This was already fixed for FindSDL.cmake in commit 7cb51739.
Diffstat (limited to 'Modules/FindSDL_image.cmake')
-rw-r--r--Modules/FindSDL_image.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindSDL_image.cmake b/Modules/FindSDL_image.cmake
index 4cae032..30d74ac 100644
--- a/Modules/FindSDL_image.cmake
+++ b/Modules/FindSDL_image.cmake
@@ -40,7 +40,7 @@ find_path(SDL_IMAGE_INCLUDE_DIR SDL_image.h
HINTS
ENV SDLIMAGEDIR
ENV SDLDIR
- PATH_SUFFIXES SDL SDL12 SDL11
+ PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
)
if(NOT SDL_IMAGE_LIBRARY AND SDLIMAGE_LIBRARY)
@@ -52,6 +52,7 @@ find_library(SDL_IMAGE_LIBRARY
HINTS
ENV SDLIMAGEDIR
ENV SDLDIR
+ PATH_SUFFIXES lib
)
if(SDL_IMAGE_INCLUDE_DIR AND EXISTS "${SDL_IMAGE_INCLUDE_DIR}/SDL_image.h")