mirror of
https://github.com/blupi-games/planetblupi-dev
synced 2024-12-30 13:55:36 +01:00
Use static link with android main SDL
This commit is contained in:
parent
e7467b411d
commit
846c4720c7
@ -669,7 +669,7 @@ if (ANDROID)
|
|||||||
#find_package (PkgConfig REQUIRED)
|
#find_package (PkgConfig REQUIRED)
|
||||||
#pkg_search_module (SDL2 REQUIRED sdl2)
|
#pkg_search_module (SDL2 REQUIRED sdl2)
|
||||||
|
|
||||||
add_library(main SHARED android/SDL_android_main.c)
|
add_library (main STATIC android/SDL_android_main.c)
|
||||||
add_dependencies (main planetblupi_Project)
|
add_dependencies (main planetblupi_Project)
|
||||||
target_link_libraries (main PUBLIC planetblupi)
|
target_link_libraries (main PUBLIC planetblupi)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user