Skip to content

Commit f4e05a4

Browse files
skip libatomic if mac (ros2#565) (ros2#566)
(cherry picked from commit 45756eb) Signed-off-by: Griffin Tabor <tabor473@gmail.com> Co-authored-by: Griffin Tabor <tabor473@gmail.com>
1 parent fea05d4 commit f4e05a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ target_link_libraries(${PROJECT_NAME}
9393

9494
check_library_exists(atomic __atomic_load_8 "" HAVE_LIBATOMICS)
9595

96-
if(HAVE_LIBATOMICS AND NOT WIN32)
96+
if(HAVE_LIBATOMICS AND NOT WIN32 AND NOT APPLE)
9797
# Link libatomic into rcutils for fault injection atomic operations.
9898
# Don't export it - downstream packages get atomic symbols transitively
9999
# through librcutils.so. See https://github.com/ros2/rcutils/issues/525

0 commit comments

Comments
 (0)