From fdabb692424fb27c4845873c34dd306ed989e3aa Mon Sep 17 00:00:00 2001 From: yzewei Date: Mon, 26 Feb 2024 08:51:55 +0800 Subject: [PATCH] add loongarch64 support Signed-off-by: yzewei --- cmake/cross.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/cross.cmake b/cmake/cross.cmake index 82f63354..351a85eb 100644 --- a/cmake/cross.cmake +++ b/cmake/cross.cmake @@ -25,3 +25,6 @@ endif() if(CMAKE_SYSTEM_PROCESSOR MATCHES "riscv64") link_libraries(atomic) endif() +if(CMAKE_SYSTEM_PROCESSOR MATCHES "loongarch64") + link_libraries(atomic) +endif()