Fixed Android ABI check to match vulkan/vk_platform.h

This commit is contained in:
Sam Lantinga 2017-08-27 23:39:38 -07:00
parent 34bdee53c6
commit ea91908e95

View file

@ -859,7 +859,7 @@ if(ANDROID)
endif() endif()
CHECK_C_SOURCE_COMPILES(" 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 #error Vulkan doesn't work on this configuration
#endif #endif
int main() int main()