CMAKE_ANDROID_NDK_DEPRECATED_HEADERS
When Cross Compiling for Android with the NDK, this variable may be set to specify whether to use the deprecated per-api-level headers instead of the unified headers.
If not specified, the default will be false if using a NDK version that provides the unified headers and true otherwise.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.17/variable/CMAKE_ANDROID_NDK_DEPRECATED_HEADERS.html