summary refs log tree commit diff stats
path: root/cmake/FindSDL2_Image.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindSDL2_Image.cmake')
-rw-r--r--cmake/FindSDL2_Image.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/FindSDL2_Image.cmake b/cmake/FindSDL2_Image.cmake index de842ca..5684568 100644 --- a/cmake/FindSDL2_Image.cmake +++ b/cmake/FindSDL2_Image.cmake
@@ -41,6 +41,7 @@ if(NOT SDL2_IMAGE_INCLUDE_DIR AND SDL2IMAGE_INCLUDE_DIR)
41endif() 41endif()
42find_path(SDL2_IMAGE_INCLUDE_DIR SDL_image.h 42find_path(SDL2_IMAGE_INCLUDE_DIR SDL_image.h
43 HINTS 43 HINTS
44 ${SDL2IMAGEDIR}
44 ENV SDL2IMAGEDIR 45 ENV SDL2IMAGEDIR
45 ENV SDL2DIR 46 ENV SDL2DIR
46 ${SDL2_DIR} 47 ${SDL2_DIR}
@@ -61,6 +62,7 @@ endif()
61find_library(SDL2_IMAGE_LIBRARY 62find_library(SDL2_IMAGE_LIBRARY
62 NAMES SDL2_image 63 NAMES SDL2_image
63 HINTS 64 HINTS
65 ${SDL2IMAGEDIR}
64 ENV SDL2IMAGEDIR 66 ENV SDL2IMAGEDIR
65 ENV SDL2DIR 67 ENV SDL2DIR
66 ${SDL2_DIR} 68 ${SDL2_DIR}