mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 00:17:10 +01:00
Removed SDL2 and created JNI interface (Android Only)
This commit is contained in:
@@ -36,12 +36,8 @@ set(executable_SOURCES
|
||||
)
|
||||
|
||||
if(ANDROID)
|
||||
set( sdl_main
|
||||
android/SDL_android_main.c
|
||||
${executable_SOURCES} )
|
||||
|
||||
# add shared library for android
|
||||
add_library(${PROJECT_NAME} SHARED ${framework_SOURCES} ${client_SOURCES} ${sdl_main})
|
||||
add_library(${PROJECT_NAME} SHARED ${framework_SOURCES} ${client_SOURCES} ${executable_SOURCES})
|
||||
else()
|
||||
# add client executable
|
||||
add_executable(${PROJECT_NAME} ${framework_SOURCES} ${client_SOURCES} ${executable_SOURCES})
|
||||
|
||||
Reference in New Issue
Block a user