mirror of https://github.com/libsdl-org/SDL
cmake: SDL3 does not need -lmingw32 anymore because SDL_main has gone
This commit is contained in:
parent
562a8209d8
commit
8fc445c730
|
@ -1946,7 +1946,7 @@ elseif(WINDOWS)
|
||||||
|
|
||||||
file(GLOB VERSION_SOURCES ${SDL3_SOURCE_DIR}/src/core/windows/*.rc)
|
file(GLOB VERSION_SOURCES ${SDL3_SOURCE_DIR}/src/core/windows/*.rc)
|
||||||
if(MINGW OR CYGWIN)
|
if(MINGW OR CYGWIN)
|
||||||
list(INSERT SDL_PC_LIBS 0 "-lmingw32" "-mwindows")
|
list(APPEND SDL_PC_LIBS "-mwindows")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
|
|
Loading…
Reference in New Issue