From 3588c3f5bc2ab6a564d3c4bf8a5f6b6ef7f81d62 Mon Sep 17 00:00:00 2001 From: redtide Date: Fri, 23 Feb 2024 05:57:10 +0100 Subject: [PATCH] Make possible riscv64 to build the project --- cmake/VSTConfig.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/VSTConfig.cmake b/cmake/VSTConfig.cmake index b72f8246..62c7f881 100644 --- a/cmake/VSTConfig.cmake +++ b/cmake/VSTConfig.cmake @@ -45,6 +45,10 @@ if(NOT VST3_PACKAGE_ARCHITECTURE) set(VST3_PACKAGE_ARCHITECTURE "${VST3_SYSTEM_PROCESSOR}") elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(aarch64)$") set(VST3_PACKAGE_ARCHITECTURE "aarch64") + # We have no much ways to support RISC without machines to test, + # but at least don't deny the possibility to build + elseif(VST3_SYSTEM_PROCESSOR MATCHES "^(riscv64)$") + set(VST3_PACKAGE_ARCHITECTURE "riscv64") else() message(FATAL_ERROR "We don't know this architecture for VST3: ${VST3_SYSTEM_PROCESSOR}.") endif()