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

This reverts commit d211aaddc1.
This commit is contained in:
Anonymous Maarten 2022-07-23 18:05:35 +02:00
parent 2fdedd17be
commit fc2497b109
1 changed files with 1 additions and 1 deletions

View File

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