diff options
Diffstat (limited to 'Modules/FindSDL.cmake')
-rw-r--r-- | Modules/FindSDL.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake index 806b659..bd36798 100644 --- a/Modules/FindSDL.cmake +++ b/Modules/FindSDL.cmake @@ -67,7 +67,7 @@ find_path(SDL_INCLUDE_DIR SDL.h HINTS - $ENV{SDLDIR} + ENV SDLDIR PATH_SUFFIXES include/SDL include PATHS ~/Library/Frameworks @@ -87,7 +87,7 @@ find_path(SDL_INCLUDE_DIR SDL.h find_library(SDL_LIBRARY_TEMP NAMES SDL SDL-1.1 HINTS - $ENV{SDLDIR} + ENV SDLDIR PATH_SUFFIXES lib64 lib PATHS /sw @@ -105,7 +105,7 @@ if(NOT SDL_BUILDING_LIBRARY) find_library(SDLMAIN_LIBRARY NAMES SDLmain SDLmain-1.1 HINTS - $ENV{SDLDIR} + ENV SDLDIR PATH_SUFFIXES lib64 lib PATHS /sw |