diff options
author | phorcys <phorcys@126.com> | 2022-10-26 17:22:16 +0800 |
---|---|---|
committer | phorcys <phorcys@126.com> | 2022-10-26 17:22:16 +0800 |
commit | b200f121f2cfed3cb3b853ff9c0a1cf7f05ee0f6 (patch) | |
tree | df801af314b9b678fc1ba641a440fe2e8cb5276a /cmake | |
parent | 90838f0fbc80edc668b618b452311bfe2a8727e7 (diff) |
Add LoongArch CPU support.Allow building kodi on LoongArch Linux systems.
Diffstat (limited to 'cmake')
-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 848723af1f..4083483173 100644 --- a/cmake/scripts/linux/ArchSetup.cmake +++ b/cmake/scripts/linux/ArchSetup.cmake @@ -43,6 +43,9 @@ else() elseif(CPU MATCHES ppc64le) set(ARCH ppc64le) set(NEON False) + elseif(CPU MATCHES loongarch64) + set(ARCH loongarch64) + set(NEON False) else() message(SEND_ERROR "Unknown CPU: ${CPU}") endif() |