From 1f81d448fe7e8663ba8bfacc59c6387ab5d8e2e2 Mon Sep 17 00:00:00 2001 From: "Ivan A. Melnikov" Date: Wed, 17 Mar 2021 12:50:09 +0400 Subject: [PATCH] Link with libatomic on mipsel --- GraphBLAS/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/GraphBLAS/CMakeLists.txt b/GraphBLAS/CMakeLists.txt index 7eb999189..dd4cd90f6 100644 --- a/GraphBLAS/CMakeLists.txt +++ b/GraphBLAS/CMakeLists.txt @@ -341,6 +341,13 @@ endif ( ) # target_link_libraries ( graphblas PUBLIC ${BLAS_LIBRARIES} ) # endif ( ) +if ( CMAKE_SYSTEM_PROCESSOR MATCHES "mips" ) + target_link_libraries ( graphblas atomic ) + if ( BUILD_GRB_STATIC_LIBRARY ) + target_link_libraries ( graphblas_static atomic ) + endif ( ) +endif ( ) + #------------------------------------------------------------------------------- # determine the default matrix format #------------------------------------------------------------------------------- -- 2.29.3