summaryrefslogtreecommitdiffstats
path: root/Modules/FindSDL_image.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindSDL_image.cmake')
-rw-r--r--Modules/FindSDL_image.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindSDL_image.cmake b/Modules/FindSDL_image.cmake
index e1680ea..e39b3cb 100644
--- a/Modules/FindSDL_image.cmake
+++ b/Modules/FindSDL_image.cmake
@@ -19,11 +19,7 @@ FIND_PATH(SDLIMAGE_INCLUDE_DIR SDL_image.h
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
-FIND_PATH(SDLIMAGE_INCLUDE_DIR SDL_image.h
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES include
-)
+
FIND_PATH(SDLIMAGE_INCLUDE_DIR SDL_image.h
PATHS
~/Library/Frameworks
@@ -54,12 +50,7 @@ FIND_LIBRARY(SDLIMAGE_LIBRARY
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib
)
-FIND_LIBRARY(SDLIMAGE_LIBRARY
- NAMES SDL_image
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES lib64 lib
-)
+
FIND_LIBRARY(SDLIMAGE_LIBRARY
NAMES SDL_image
PATHS