xref: /llvm-project/runtimes/cmake/android/Common.cmake (revision d173ce4a670e88b65c52f6fc1bf10d133ee35704)
1*d173ce4aSRyan Prichardset(CMAKE_SYSTEM_NAME "Android" CACHE STRING "")
2*d173ce4aSRyan Prichard
3*d173ce4aSRyan Prichard# Set the CMake system version to "1" to inhibit CMake's built-in support for
4*d173ce4aSRyan Prichard# compiling using the Android NDK, which gets in the way when we're not using an
5*d173ce4aSRyan Prichard# NDK.
6*d173ce4aSRyan Prichardset(CMAKE_SYSTEM_VERSION "1" CACHE STRING "")
7