mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Fix sdlmain link order (fixes #139)
This commit is contained in:
parent
7ea8feceee
commit
120635b1a8
@ -28,7 +28,7 @@ set(SDL2_ALL_LIBRARIES SDL2::SDL2)
|
||||
set(SDL2_ALL_PKGCONFIG_MODULES sdl2)
|
||||
|
||||
if(TARGET SDL2::SDL2main)
|
||||
set(SDL2_ALL_LIBRARIES ${SDL2_ALL_LIBRARIES} SDL2::SDL2main)
|
||||
set(SDL2_ALL_LIBRARIES SDL2::SDL2main ${SDL2_ALL_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(MINGW)
|
||||
|
Loading…
x
Reference in New Issue
Block a user