diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c2af3355..a9af7ad18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,6 +154,9 @@ endif() set(SDL_LIBC_DEFAULT ON) set(SDL_SYSTEM_ICONV_DEFAULT ON) if(WINDOWS) + if(MINGW) + set(SDL_LIBC_DEFAULT OFF) + endif() set(SDL_SYSTEM_ICONV_DEFAULT OFF) endif()