From: Peter Michael Green Date: Sat, 23 Apr 2022 15:15:39 +0000 (+0000) Subject: Link with libatomic. X-Git-Tag: archive/raspbian/0.10.6-5+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3fb4242c03a7f8793c364fa4856a65f5daa79c01;p=pygalmesh.git Link with libatomic. Gbp-Pq: Name link-with-libatomic.patch --- diff --git a/setup.py b/setup.py index 5a75a1c..8d50592 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ ext_modules = [ "/usr/local/include/eigen3", ], # no CGAL libraries necessary from CGAL 5.0 onwards - libraries=["gmp", "mpfr"], + libraries=["gmp", "mpfr","atomic"], ) ] diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d214588..0a18986 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,7 +13,7 @@ FILE(GLOB pygalmesh_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") pybind11_add_module(pygalmesh ${pygalmesh_SRCS}) # ADD_LIBRARY(pygalmesh ${pygalmesh_SRCS}) -target_link_libraries(pygalmesh PRIVATE ${CGAL_LIBRARIES}) +target_link_libraries(pygalmesh PRIVATE ${CGAL_LIBRARIES} -latomic) # https://github.com/CGAL/cgal/issues/6002 # find_program(iwyu_path NAMES include-what-you-use iwyu REQUIRED)