summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-10-08 23:54:36 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-09 13:49:19 (GMT)
commit5c2f9e3eeb89c50fa110daa1f33945381b1416ed (patch)
treef0e5595843baf441cdab79337f90bf5b713e4aab /Tests
parent488141fe373f9c4e1dfd3d63e9c932c37d577547 (diff)
downloadCMake-5c2f9e3eeb89c50fa110daa1f33945381b1416ed.zip
CMake-5c2f9e3eeb89c50fa110daa1f33945381b1416ed.tar.gz
CMake-5c2f9e3eeb89c50fa110daa1f33945381b1416ed.tar.bz2
Android: Fatal if ABI is not supported by NDK
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/Android/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/Android/RunCMakeTest.cmake b/Tests/RunCMake/Android/RunCMakeTest.cmake
index 81dd090..c4b1a00 100644
--- a/Tests/RunCMake/Android/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Android/RunCMakeTest.cmake
@@ -157,7 +157,7 @@ foreach(ndk IN LISTS TEST_ANDROID_NDK)
# Find a sysroot to test.
file(GLOB _sysroots "${ndk}/platforms/android-[0-9][0-9]/arch-arm")
- if(_sysroots)
+ if(_sysroots AND "armeabi" IN_LIST _abis_)
list(GET _sysroots 0 _sysroot)
set(RunCMake_TEST_OPTIONS
-DCMAKE_SYSTEM_NAME=Android