Link with libatomic.
authorPeter Michael Green <plugwash@raspbian.org>
Sun, 24 Apr 2022 21:08:59 +0000 (21:08 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 24 Apr 2022 21:08:59 +0000 (21:08 +0000)
Gbp-Pq: Name link-with-libatomic.patch

CMakeLists.txt

index dbd2a67850aba0deefcd866ba0370f957af9099b..c0a8525a0d62738c0d4b6aef55390b3f2996da4a 100644 (file)
@@ -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)