3 # SDL_LIBRARY, the name of the library to link against
4 # SDL_FOUND, if false, do not try to link to SDL
5 # SDL_INCLUDE_DIR, where to find SDL/SDL.h
7 # $SDLDIR is an environment variable that would
8 # correspond to the ./configure --prefix=$SDLDIR
9 # used in building SDL.
16 FIND_LIBRARY(SDL_LIBRARY SDL
22 FIND_PATH( SDL_INCLUDE_DIR SDL/SDL.h
32 SET( SDL_FOUND "YES" )