summaryrefslogtreecommitdiff
path: root/infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake')
-rw-r--r--infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake b/infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake
index 2b2792a6a..4da261878 100644
--- a/infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake
+++ b/infra/nnfw/cmake/buildtool/cross/toolchain_aarch64-android.cmake
@@ -11,7 +11,8 @@ if(NOT DEFINED NDK_DIR)
endif(NOT DEFINED NDK_DIR)
set(ANDROID_ABI arm64-v8a)
-set(ANDROID_PLATFORM android-27)
+set(ANDROID_API_LEVEL 29)
+set(ANDROID_PLATFORM android-${ANDROID_API_LEVEL})
# Find package in the host. `nnfw_find_package` won't work without this
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE NEVER)