diff options
author | Brad King <brad.king@kitware.com> | 2020-02-04 13:26:31 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-02-04 13:26:40 (GMT) |
commit | a8bcfddb2b93172cb072a95586db5af6e4e5817a (patch) | |
tree | 812a92d5c059b20e19030ce705352426674fb42f /Modules | |
parent | f9410accaa8e48d4284cd9527aeafc5b3eb59b34 (diff) | |
parent | e3d3b7ddeb5922a4d17b962984e698e6387f7544 (diff) | |
download | CMake-a8bcfddb2b93172cb072a95586db5af6e4e5817a.zip CMake-a8bcfddb2b93172cb072a95586db5af6e4e5817a.tar.gz CMake-a8bcfddb2b93172cb072a95586db5af6e4e5817a.tar.bz2 |
Merge topic 'android-ndk-r19-binutils'
e3d3b7ddeb Android: Fix binutils selection with NDK r19+ unified toolchain
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4318
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Android/Determine-Compiler-NDK.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Android/Determine-Compiler-NDK.cmake b/Modules/Platform/Android/Determine-Compiler-NDK.cmake index e009c10..f56e1d5 100644 --- a/Modules/Platform/Android/Determine-Compiler-NDK.cmake +++ b/Modules/Platform/Android/Determine-Compiler-NDK.cmake @@ -23,6 +23,7 @@ if(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED) set(_ANDROID_TOOL_CXX_COMPILER_EXTERNAL_TOOLCHAIN "") set(_ANDROID_TOOL_CXX_TOOLCHAIN_PREFIX "${CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED}/bin/${CMAKE_ANDROID_ARCH_TRIPLE}-") set(_ANDROID_TOOL_CXX_TOOLCHAIN_SUFFIX "${_ANDROID_HOST_EXT}") + set(_CMAKE_TOOLCHAIN_PREFIX "${CMAKE_ANDROID_ARCH_TRIPLE}-") return() endif() |