mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-14 07:43:14 +00:00
cmake: ios and tvos applications need to link to SDL2main library
Backport of 52090046fe
This commit is contained in:
@@ -99,6 +99,8 @@ elseif(PS2)
|
||||
dmakit
|
||||
ps2_drivers
|
||||
)
|
||||
elseif(IOS OR TVOS)
|
||||
link_libraries(SDL2::SDL2main SDL2::SDL2test SDL2::SDL2-static)
|
||||
else()
|
||||
link_libraries(SDL2::SDL2test SDL2::SDL2-static)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user