ANDROID

From Get docs
Cmake/docs/3.21/variable/android


ANDROID

New in version 3.7.


Set to 1 when the target system (CMAKE_SYSTEM_NAME) is Android.

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