Remove "-mwindows" flag from MinGW/Cygwin link options

This commit is contained in:
Aiden Foxx 2025-05-04 15:21:18 +02:00 committed by GitHub
parent 15c6acf74f
commit b3c40fae3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -2162,9 +2162,6 @@ elseif(WINDOWS)
enable_language(RC)
sdl_glob_sources(SHARED "${SDL3_SOURCE_DIR}/src/core/windows/*.rc")
if(MINGW OR CYGWIN)
sdl_pc_link_options("-mwindows")
endif()
elseif(APPLE)
# TODO: rework this all for proper macOS, iOS and Darwin support