Explorar o código

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

Anonymous Maarten %!s(int64=3) %!d(string=hai) anos
pai
achega
8fc445c730
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -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)