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()