From 6233293ba27c017be71175ec5db98872262aa12a Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Wed, 25 Sep 2019 15:20:22 +0200 Subject: Refreshed patches. --- ...ing-against-libatomic-for-parts-that-use-T.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/patches/0005-Force-linking-against-libatomic-for-parts-that-use-T.patch (limited to 'debian/patches/0005-Force-linking-against-libatomic-for-parts-that-use-T.patch') diff --git a/debian/patches/0005-Force-linking-against-libatomic-for-parts-that-use-T.patch b/debian/patches/0005-Force-linking-against-libatomic-for-parts-that-use-T.patch new file mode 100644 index 00000000..0a20ce1e --- /dev/null +++ b/debian/patches/0005-Force-linking-against-libatomic-for-parts-that-use-T.patch @@ -0,0 +1,21 @@ +From: Gard Spreemann +Date: Wed, 25 Sep 2019 15:18:08 +0200 +Subject: Force linking against libatomic for parts that use TBB. + +--- + src/cmake/modules/FindTBB.cmake | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/cmake/modules/FindTBB.cmake b/src/cmake/modules/FindTBB.cmake +index 13f4d92..6baa8d7 100644 +--- a/src/cmake/modules/FindTBB.cmake ++++ b/src/cmake/modules/FindTBB.cmake +@@ -375,6 +375,8 @@ if (TBB_INCLUDE_DIR) + endif(NOT TBB_without_pthread) + endif(UNIX AND NOT APPLE) + ++ list(APPEND ALL_TBB_LIBRARIES atomic) ++ + set (TBB_LIBRARIES ${ALL_TBB_LIBRARIES} + CACHE PATH "TBB libraries" FORCE) + -- cgit v1.2.3