From e3057d629fd11b84e25b55bab45dc1c10c3edc3a Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Sun, 24 Apr 2022 21:08:59 +0000 Subject: [PATCH] Link with libatomic. Gbp-Pq: Name link-with-libatomic.patch --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbd2a67..c0a8525 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,8 @@ if (NOT USE_SYSTEM_CGAL) add_dependencies( mshr CGAL ) endif() +target_link_libraries(mshr atomic) + # Append the library version information to the library target properties option(MSHR_WITH_LIBRARY_VERSION "Build with library version information." ON) if (MSHR_WITH_LIBRARY_VERSION) -- 2.30.2