aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2021-10-19 13:50:27 +0200
committerAurelien Jarno <aurelien@aurel32.net>2021-10-19 13:50:27 +0200
commit31d7872573b13ec14c22a0336142c2374bb38574 (patch)
tree88565ac9a5ce9112ec8a42fbbd64d492bf1b6a1b /cmake/scripts/linux
parent258fe34fcb915b82a1347c5022ebd1f51a1e482a (diff)
[cmake] add support for riscv64 in ArchSetup.cmake
Diffstat (limited to 'cmake/scripts/linux')
-rw-r--r--cmake/scripts/linux/ArchSetup.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake
index a51e080440..06c43f05d1 100644
--- a/cmake/scripts/linux/ArchSetup.cmake
+++ b/cmake/scripts/linux/ArchSetup.cmake
@@ -35,6 +35,9 @@ else()
elseif(CPU MATCHES aarch64 OR CPU MATCHES arm64)
set(ARCH aarch64)
set(NEON True)
+ elseif(CPU MATCHES riscv64)
+ set(ARCH riscv64)
+ set(NEON False)
else()
message(SEND_ERROR "Unknown CPU: ${CPU}")
endif()