Jelajahi Sumber

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

Anonymous Maarten 3 tahun lalu
induk
melakukan
d211aaddc1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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" "-mwindows")
+    list(INSERT SDL_LIBS 0 "-lmingw32")
   endif()
 
 elseif(APPLE)