Commit ea91908e9566cf3a72689da46e0e7d7e658eae15

Sam Lantinga 2017-08-27T23:39:38

Fixed Android ABI check to match vulkan/vk_platform.h

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index df67a7d..fa4dc2f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -859,7 +859,7 @@ if(ANDROID)
     endif()
 
     CHECK_C_SOURCE_COMPILES("
-    #if defined(__ANDROID__) && defined(__ARM_EABI__) && !defined(__ARM_ARCH_7A__)
+    #if defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH < 7
     #error Vulkan doesn't work on this configuration
     #endif
     int main()