Change the VST3 architecture for ARM to match RPM specification

The suffix `hl` indicates a little-endian processor with FPU
This commit is contained in:
Jean Pierre Cimalando 2020-09-26 13:40:20 +02:00
parent dde743af76
commit ec1032107c

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()