Merge pull request #443 from jpcima/arm-vst-architecture

VST architecture "hl" for ARM
This commit is contained in:
JP Cimalando 2020-09-27 00:21:44 +02:00 committed by GitHub
commit e05e651d02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,10 +30,10 @@ if(NOT VST3_PACKAGE_ARCHITECTURE)
else()
set(VST3_PACKAGE_ARCHITECTURE "i386")
endif()
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(armv7l)$")
set(VST3_PACKAGE_ARCHITECTURE "armv7l")
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 "^(aarch64)$")
set(VST3_PACKAGE_ARCHITECTURE "aarch64")
set(VST3_PACKAGE_ARCHITECTURE "aarch64")
else()
message(FATAL_ERROR "We don't know this architecture for VST3: ${VST3_SYSTEM_PROCESSOR}.")
endif()