cmake: SDL3 does not need -lmingw32 anymore because SDL_main has gone

This commit is contained in:
Anonymous Maarten 2023-01-07 16:58:42 +01:00 committed by Anonymous Maarten
parent 562a8209d8
commit 8fc445c730
1 changed files with 1 additions and 1 deletions

View File

@ -1946,7 +1946,7 @@ elseif(WINDOWS)
file(GLOB VERSION_SOURCES ${SDL3_SOURCE_DIR}/src/core/windows/*.rc)
if(MINGW OR CYGWIN)
list(INSERT SDL_PC_LIBS 0 "-lmingw32" "-mwindows")
list(APPEND SDL_PC_LIBS "-mwindows")
endif()
elseif(APPLE)