Merge topic 'FindSDL-path-suffixes'

c5c217c FindSDL: Add path suffixes for <prefix>/include/(SDL|SDL12|SDL11)
This commit is contained in:
Brad King 2013-10-09 10:23:23 -04:00 committed by CMake Topic Stage
commit 1c1a904328
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@
find_path(SDL_INCLUDE_DIR SDL.h find_path(SDL_INCLUDE_DIR SDL.h
HINTS HINTS
ENV SDLDIR 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... # SDL-1.1 is the name used by FreeBSD ports...