From 4a4936f2b531003564556111d8148cba0e76d0db Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 2 Apr 2020 21:04:54 +0200 Subject: [PATCH] Add support of some ARM architectures for VST (by @hexdump0815) --- cmake/VSTConfig.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/VSTConfig.cmake b/cmake/VSTConfig.cmake index 02ec9137..dd2ae1cb 100644 --- a/cmake/VSTConfig.cmake +++ b/cmake/VSTConfig.cmake @@ -30,6 +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 "^(aarch64)$") + set(VST3_PACKAGE_ARCHITECTURE "aarch64") else() message(FATAL_ERROR "We don't know this architecture for VST3: ${VST3_SYSTEM_PROCESSOR}.") endif()