diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 13:03:18 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 13:03:18 -0400 |
commit | 304bab2aced9cae51d2e4c09f3d9e06c66ff175d (patch) | |
tree | 8397f81b893feb1cf624eee49c4fb01297aa08ad /cmake | |
parent | ba350484072c78e5e1a765370c22dbd76474aa39 (diff) | |
download | ether-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.cmake | 2 |
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) | |||
41 | endif() | 41 | endif() |
42 | find_path(SDL2_IMAGE_INCLUDE_DIR SDL_image.h | 42 | find_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() | |||
61 | find_library(SDL2_IMAGE_LIBRARY | 62 | find_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} |