File: 0007-Libatomic-is-needed-by-iceoryx_hoofs-users.patch

package info (click to toggle)
iceoryx 2.0.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,296 kB
  • sloc: cpp: 94,119; ansic: 1,443; sh: 1,436; python: 1,377; xml: 100; makefile: 65
file content (20 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Thu, 17 Mar 2022 11:08:28 +0100
Subject: Libatomic is needed by iceoryx_hoofs users

---
 iceoryx_hoofs/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iceoryx_hoofs/CMakeLists.txt b/iceoryx_hoofs/CMakeLists.txt
index a3ec0ae..c5d6b14 100644
--- a/iceoryx_hoofs/CMakeLists.txt
+++ b/iceoryx_hoofs/CMakeLists.txt
@@ -207,6 +207,7 @@ target_link_libraries(iceoryx_hoofs
 
 if(LINUX)
     target_link_libraries(iceoryx_hoofs PRIVATE acl atomic ${CODE_COVERAGE_LIBS})
+    target_link_libraries(iceoryx_hoofs INTERFACE atomic)
 endif()
 
 target_compile_options(iceoryx_hoofs PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS})