From 6bfecb475e66f8da1f338c2768f420a367683215 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 26 Sep 2025 11:54:43 -0400 Subject: [PATCH] Update SDL2 CMake configuration to include WIN32 support - Modified the preprocessor directive to include WIN32 in the condition for adding the SDL subdirectory, ensuring compatibility across additional Windows platforms. --- cmake/sdl2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sdl2.cmake b/cmake/sdl2.cmake index a364f753..4a8ae675 100644 --- a/cmake/sdl2.cmake +++ b/cmake/sdl2.cmake @@ -1,5 +1,5 @@ # SDL2 -if (UNIX OR MINGW) +if (UNIX OR MINGW OR WIN32) add_subdirectory(src/lib/SDL) # When using bundled SDL, use the static target set(SDL_TARGETS SDL2-static)