aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorphorcys <phorcys@126.com>2022-10-26 17:22:16 +0800
committerphorcys <phorcys@126.com>2022-10-26 17:22:16 +0800
commitb200f121f2cfed3cb3b853ff9c0a1cf7f05ee0f6 (patch)
treedf801af314b9b678fc1ba641a440fe2e8cb5276a /cmake
parent90838f0fbc80edc668b618b452311bfe2a8727e7 (diff)
Add LoongArch CPU support.Allow building kodi on LoongArch Linux systems.
Diffstat (limited to 'cmake')
-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 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()