Skip to content

Commit 10aaeef

Browse files
authored
Add check for Android NDK 23 to AndroidAppBuilder (#65197)
We recently bumped the Android NDK in #64567, add a check to CMakeLists-android.txt to validate it.
1 parent 5d9ef56 commit 10aaeef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tasks/AndroidAppBuilder/Templates/CMakeLists-android.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ project(monodroid)
44

55
enable_language(C ASM)
66

7+
if(ANDROID_NDK_MAJOR VERSION_LESS "23")
8+
message(FATAL_ERROR "Error: need at least Android NDK 23, got ${ANDROID_NDK_REVISION}!")
9+
endif()
10+
711
add_library(
812
monodroid
913
SHARED

0 commit comments

Comments
 (0)