diff options
Diffstat (limited to 'Modules/FindSDL.cmake')
-rw-r--r-- | Modules/FindSDL.cmake | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake index c25e13c..64d4262 100644 --- a/Modules/FindSDL.cmake +++ b/Modules/FindSDL.cmake @@ -58,11 +58,7 @@ FIND_PATH(SDL_INCLUDE_DIR SDL.h NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(SDL_INCLUDE_DIR SDL.h - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(SDL_INCLUDE_DIR SDL.h PATHS ~/Library/Frameworks @@ -95,12 +91,7 @@ FIND_LIBRARY(SDL_LIBRARY_TEMP NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(SDL_LIBRARY_TEMP - NAMES SDL SDL-1.1 - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(SDL_LIBRARY_TEMP NAMES SDL SDL-1.1 PATHS @@ -128,12 +119,7 @@ IF(NOT SDL_BUILDING_LIBRARY) NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) - FIND_LIBRARY(SDLMAIN_LIBRARY - NAMES SDLmain SDLmain-1.1 - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib - ) + FIND_LIBRARY(SDLMAIN_LIBRARY NAMES SDLmain SDLmain-1.1 PATHS |