From 79e05c7f9f6ee2a492ef93424c25b24d835a971c Mon Sep 17 00:00:00 2001 From: Vincent Rabaud Date: Wed, 6 Mar 2024 14:50:30 +0100 Subject: [PATCH] Check for the presence of the ANDROID_ABI variable BUG=webp:632 Change-Id: I8169be37d7b739b206ffb6555d58ff79a34c3605 --- cmake/cpu.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cpu.cmake b/cmake/cpu.cmake index a9cbce1e..040c5247 100644 --- a/cmake/cpu.cmake +++ b/cmake/cpu.cmake @@ -61,7 +61,7 @@ endif() set(WEBP_SIMD_FILES_TO_INCLUDE) set(WEBP_SIMD_FLAGS_TO_INCLUDE) -if(${ANDROID}) +if(ANDROID AND ANDROID_ABI) if(${ANDROID_ABI} STREQUAL "armeabi-v7a") # This is because Android studio uses the configuration "-march=armv7-a # -mfloat-abi=softfp -mfpu=vfpv3-d16" that does not trigger neon