diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2021-10-19 13:50:27 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2021-10-19 13:50:27 +0200 |
commit | 31d7872573b13ec14c22a0336142c2374bb38574 (patch) | |
tree | 88565ac9a5ce9112ec8a42fbbd64d492bf1b6a1b /cmake/scripts/linux | |
parent | 258fe34fcb915b82a1347c5022ebd1f51a1e482a (diff) |
[cmake] add support for riscv64 in ArchSetup.cmake
Diffstat (limited to 'cmake/scripts/linux')
-rw-r--r-- | cmake/scripts/linux/ArchSetup.cmake | 3 |
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() |