Merge pull request #456 from jpcima/vst-arm-bis

Back to a detection strategy for ARM VST which should work in most cases
This commit is contained in:
JP Cimalando 2020-09-28 01:55:40 +02:00 committed by GitHub
commit 4722124f84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,8 @@ if(NOT VST3_PACKAGE_ARCHITECTURE)
else()
set(VST3_PACKAGE_ARCHITECTURE "i386")
endif()
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(armv[0-9]+)")
string(REGEX REPLACE "^(armv[0-9]+).*$" "\\1hl" VST3_PACKAGE_ARCHITECTURE "${VST3_SYSTEM_PROCESSOR}")
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(armv[3-8][a-z]*)$")
set(VST3_PACKAGE_ARCHITECTURE "${VST3_SYSTEM_PROCESSOR}")
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(aarch64)$")
set(VST3_PACKAGE_ARCHITECTURE "aarch64")
else()