mirror of https://github.com/libsdl-org/SDL
cmake: don't add -mwindows to link flags in sdl2.pc
This commit is contained in:
parent
d63a699e01
commit
d211aaddc1
|
@ -1895,7 +1895,7 @@ elseif(WINDOWS)
|
||||||
list(APPEND SDL_CFLAGS "-Dmain=SDL_main")
|
list(APPEND SDL_CFLAGS "-Dmain=SDL_main")
|
||||||
list(INSERT SDL_LIBS 0 "-lSDL2main")
|
list(INSERT SDL_LIBS 0 "-lSDL2main")
|
||||||
endif(NOT SDL2_DISABLE_SDL2MAIN)
|
endif(NOT SDL2_DISABLE_SDL2MAIN)
|
||||||
list(INSERT SDL_LIBS 0 "-lmingw32" "-mwindows")
|
list(INSERT SDL_LIBS 0 "-lmingw32")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
|
|
Loading…
Reference in New Issue