diff options
author | Brad King <brad.king@kitware.com> | 2016-11-11 20:22:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-18 15:03:07 (GMT) |
commit | 0d3eb139e117582fe5a625c1c380bb30dbc6d31b (patch) | |
tree | 25c228bc376ebc68a6990645079bbcf6b521aefd /Modules/Platform/Android/Determine-Compiler-Standalone.cmake | |
parent | 236d6244a0f44fbe0f50f16fb259a3817ce463c4 (diff) | |
download | CMake-0d3eb139e117582fe5a625c1c380bb30dbc6d31b.zip CMake-0d3eb139e117582fe5a625c1c380bb30dbc6d31b.tar.gz CMake-0d3eb139e117582fe5a625c1c380bb30dbc6d31b.tar.bz2 |
Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variable
The NDK provides prebuilt toolchain files in directories named for the
host architecture. The NDK build system calls this `HOST_TAG`.
Expose the value publicly for use by clients that need to pass it
to external tools.
Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
Diffstat (limited to 'Modules/Platform/Android/Determine-Compiler-Standalone.cmake')
-rw-r--r-- | Modules/Platform/Android/Determine-Compiler-Standalone.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Android/Determine-Compiler-Standalone.cmake b/Modules/Platform/Android/Determine-Compiler-Standalone.cmake index 9f07ab9..d81e691 100644 --- a/Modules/Platform/Android/Determine-Compiler-Standalone.cmake +++ b/Modules/Platform/Android/Determine-Compiler-Standalone.cmake @@ -58,4 +58,5 @@ else() set(_ANDROID_TOOL_CXX_COMPILER_EXTERNAL_TOOLCHAIN "") endif() +set(_ANDROID_TOOL_NDK_TOOLCHAIN_HOST_TAG "") set(_ANDROID_TOOL_NDK_TOOLCHAIN_VERSION "") |