From b3c40fae3dba468a1d008f56374dee262383c9b9 Mon Sep 17 00:00:00 2001 From: Aiden Foxx Date: Sun, 4 May 2025 15:21:18 +0200 Subject: [PATCH] Remove "-mwindows" flag from MinGW/Cygwin link options --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db0eb1cadbd5f..4cc30322ac6c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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