Ver Fonte

Revert "cmake: don't add -mwindows to link flags in sdl2.pc"

This reverts commit d211aaddc1edaad0e7d461d6837f3f1d2f9f4b41.
Anonymous Maarten há 2 anos atrás
pai
commit
fc2497b109
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -1895,7 +1895,7 @@ elseif(WINDOWS)
       list(APPEND SDL_CFLAGS "-Dmain=SDL_main")
       list(INSERT SDL_LIBS 0 "-lSDL2main")
     endif(NOT SDL2_DISABLE_SDL2MAIN)
-    list(INSERT SDL_LIBS 0 "-lmingw32")
+    list(INSERT SDL_LIBS 0 "-lmingw32" "-mwindows")
   endif()
 
 elseif(APPLE)