summary refs log tree commit diff stats
path: root/cmake
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:03:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:03:18 -0400
commit304bab2aced9cae51d2e4c09f3d9e06c66ff175d (patch)
tree8397f81b893feb1cf624eee49c4fb01297aa08ad /cmake
parentba350484072c78e5e1a765370c22dbd76474aa39 (diff)
downloadether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.gz
ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.tar.bz2
ether-304bab2aced9cae51d2e4c09f3d9e06c66ff175d.zip
we can build a window app!
build type must be set to Release or it's horribly slow, and fullscreen does not work
Diffstat (limited to '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}