mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-20 20:35:46 +08:00
cmake: SDL3 does not need -lmingw32 anymore because SDL_main has gone
This commit is contained in:
committed by
Anonymous Maarten
parent
562a8209d8
commit
8fc445c730
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user