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:
parent
dde743af76
commit
ec1032107c
1 changed files with 3 additions and 3 deletions
|
|
@ -30,10 +30,10 @@ if(NOT VST3_PACKAGE_ARCHITECTURE)
|
||||||
else()
|
else()
|
||||||
set(VST3_PACKAGE_ARCHITECTURE "i386")
|
set(VST3_PACKAGE_ARCHITECTURE "i386")
|
||||||
endif()
|
endif()
|
||||||
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(armv7l)$")
|
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(armv[0-9]+)")
|
||||||
set(VST3_PACKAGE_ARCHITECTURE "armv7l")
|
string(REGEX REPLACE "^(armv[0-9]+).*$" "\\1hl" VST3_PACKAGE_ARCHITECTURE "${VST3_SYSTEM_PROCESSOR}")
|
||||||
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(aarch64)$")
|
elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(aarch64)$")
|
||||||
set(VST3_PACKAGE_ARCHITECTURE "aarch64")
|
set(VST3_PACKAGE_ARCHITECTURE "aarch64")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "We don't know this architecture for VST3: ${VST3_SYSTEM_PROCESSOR}.")
|
message(FATAL_ERROR "We don't know this architecture for VST3: ${VST3_SYSTEM_PROCESSOR}.")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue