forked from Mirrorlandia_minetest/irrlicht
Fix Android build
This commit is contained in:
parent
05547cbd5f
commit
aa294a8107
@ -63,6 +63,7 @@ endif()
|
|||||||
# Platform-specific libs
|
# Platform-specific libs
|
||||||
|
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
|
enable_language(C)
|
||||||
add_library(native_app_glue STATIC ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c)
|
add_library(native_app_glue STATIC ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c)
|
||||||
include_directories(${ANDROID_NDK}/sources/android/native_app_glue)
|
include_directories(${ANDROID_NDK}/sources/android/native_app_glue)
|
||||||
link_libraries(native_app_glue -landroid -llog)
|
link_libraries(native_app_glue -landroid -llog)
|
||||||
|
Loading…
Reference in New Issue
Block a user