From 304bab2aced9cae51d2e4c09f3d9e06c66ff175d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 20 Mar 2022 13:03:18 -0400 Subject: we can build a window app! build type must be set to Release or it's horribly slow, and fullscreen does not work --- cmake/FindSDL2_Image.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake') 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) endif() find_path(SDL2_IMAGE_INCLUDE_DIR SDL_image.h HINTS + ${SDL2IMAGEDIR} ENV SDL2IMAGEDIR ENV SDL2DIR ${SDL2_DIR} @@ -61,6 +62,7 @@ endif() find_library(SDL2_IMAGE_LIBRARY NAMES SDL2_image HINTS + ${SDL2IMAGEDIR} ENV SDL2IMAGEDIR ENV SDL2DIR ${SDL2_DIR} -- cgit 1.4.1