Small CMake configuration change

This commit is contained in:
Leon Styhre 2024-03-28 23:17:33 +01:00
parent f7beb5398f
commit e0b9bee90d

View file

@ -392,6 +392,9 @@ if(ANDROID)
if(ANDROID_ABI MATCHES arm64-v8a)
message("-- Building for Android arm64-v8a on API level ${ANDROID_PLATFORM}")
set(ANDROID_CPU_ARCH arm64-v8a)
elseif(ANDROID_ABI MATCHES armeabi-v7a)
message("-- Building for Android armeabi-v7a on API level ${ANDROID_PLATFORM}")
set(ANDROID_CPU_ARCH armeabi-v7a)
elseif(ANDROID_ABI MATCHES x86_64)
message("-- Building for Android x86_64 on API level ${ANDROID_PLATFORM}")
set(ANDROID_CPU_ARCH x86_64)