From aa294a810782bb026957e0c38daf0825db9ac2f4 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 9 Apr 2021 21:28:31 +0200 Subject: [PATCH] Fix Android build --- source/Irrlicht/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Irrlicht/CMakeLists.txt b/source/Irrlicht/CMakeLists.txt index 1bb86a8b..621f7bd8 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -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)