Skip to content

Commit

Permalink
Add check for Android NDK 23 to AndroidAppBuilder (#65197)
Browse files Browse the repository at this point in the history
We recently bumped the Android NDK in #64567, add a check to CMakeLists-android.txt to validate it.
  • Loading branch information
akoeplinger committed Feb 11, 2022
1 parent 5d9ef56 commit 10aaeef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tasks/AndroidAppBuilder/Templates/CMakeLists-android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ project(monodroid)

enable_language(C ASM)

if(ANDROID_NDK_MAJOR VERSION_LESS "23")
message(FATAL_ERROR "Error: need at least Android NDK 23, got ${ANDROID_NDK_REVISION}!")
endif()

add_library(
monodroid
SHARED
Expand Down

0 comments on commit 10aaeef

Please sign in to comment.