mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
cmake: ios and tvos applications need to link to SDL2main library
This commit is contained in:

committed by
Anonymous Maarten

parent
3d7007fb2d
commit
52090046fe
@@ -241,6 +241,8 @@ elseif(PS2)
|
|||||||
dmakit
|
dmakit
|
||||||
ps2_drivers
|
ps2_drivers
|
||||||
)
|
)
|
||||||
|
elseif(IOS OR TVOS)
|
||||||
|
sdltest_link_librararies(SDL2::SDL2main SDL2::SDL2test SDL2::SDL2-static)
|
||||||
else()
|
else()
|
||||||
sdltest_link_librararies(SDL2::SDL2test SDL2::SDL2-static)
|
sdltest_link_librararies(SDL2::SDL2test SDL2::SDL2-static)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user