CMAKE_ANDROID_NDK_VERSION

From Get docs
Cmake/docs/3.21/variable/cmake android ndk version


CMAKE_ANDROID_NDK_VERSION

New in version 3.20.


When Cross Compiling for Android with the NDK and using an Android NDK version 11 or higher, this variable is provided by CMake to report the NDK version number.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_ANDROID_NDK_VERSION.html