aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindArch.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/FindArch.cmake b/cmake/FindArch.cmake
index d1defc82b..e17220737 100644
--- a/cmake/FindArch.cmake
+++ b/cmake/FindArch.cmake
@@ -35,6 +35,8 @@ set(archdetect_c_code "
#else
#error cmake_ARCH ppc
#endif
+#elif defined(__loongarch__) || defined(__loongarch64)
+ #error cmake_ARCH loongarch64
#endif
#error cmake_ARCH unknown