Skip to content

Commit

Permalink
Make possible riscv64 to build the project
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Feb 23, 2024
1 parent d7b9e52 commit 3588c3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/VSTConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3588c3f

Please sign in to comment.