From: Peter Michael Green Date: Sun, 24 Apr 2022 21:08:59 +0000 (+0000) Subject: Link with libatomic. X-Git-Tag: archive/raspbian/2019.2.0_git20200924.c27eb18+dfsg1-10+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e3057d629fd11b84e25b55bab45dc1c10c3edc3a;p=mshr.git Link with libatomic. Gbp-Pq: Name link-with-libatomic.patch --- 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)