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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user