Fix Android build

This commit is contained in:
sfan5 2021-04-09 21:28:31 +02:00
parent 05547cbd5f
commit aa294a8107

View File

@ -63,6 +63,7 @@ endif()
# Platform-specific libs
if(ANDROID)
enable_language(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)
link_libraries(native_app_glue -landroid -llog)