Merge topic 'fix-FindSDL-paths'

7cb5173 FindSDL: Restore accidentally dropped search paths (#13651)
This commit is contained in:
Brad King 2012-11-06 14:13:18 -05:00 committed by CMake Topic Stage
commit 688631a43b
1 changed files with 2 additions and 1 deletions

View File

@ -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)