summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android/Determine-Compiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-03 19:06:58 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-12 14:40:53 (GMT)
commit29b51379de352980dd453243bea7ed37ed300c62 (patch)
tree830a4eadf0024a565c62dc3fae1d107e467c041d /Modules/Platform/Android/Determine-Compiler.cmake
parent7d9b49fbdf55b28d2979af89a8192607df487ca1 (diff)
downloadCMake-29b51379de352980dd453243bea7ed37ed300c62.zip
CMake-29b51379de352980dd453243bea7ed37ed300c62.tar.gz
CMake-29b51379de352980dd453243bea7ed37ed300c62.tar.bz2
Android: Detect and save a standalone toolchain without the NDK
Diffstat (limited to 'Modules/Platform/Android/Determine-Compiler.cmake')
-rw-r--r--Modules/Platform/Android/Determine-Compiler.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Android/Determine-Compiler.cmake b/Modules/Platform/Android/Determine-Compiler.cmake
index 9649b35..613ce32 100644
--- a/Modules/Platform/Android/Determine-Compiler.cmake
+++ b/Modules/Platform/Android/Determine-Compiler.cmake
@@ -39,6 +39,8 @@ endif()
if(CMAKE_ANDROID_NDK)
include(Platform/Android/Determine-Compiler-NDK)
+elseif(CMAKE_ANDROID_STANDALONE_TOOLCHAIN)
+ include(Platform/Android/Determine-Compiler-Standalone)
else()
set(_ANDROID_TOOL_C_COMPILER "")
set(_ANDROID_TOOL_C_TOOLCHAIN_VERSION "")