aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/backward-cpp/BackwardConfig.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/backward-cpp/BackwardConfig.cmake b/contrib/backward-cpp/BackwardConfig.cmake
index e04e3facb..4cec0be91 100644
--- a/contrib/backward-cpp/BackwardConfig.cmake
+++ b/contrib/backward-cpp/BackwardConfig.cmake
@@ -139,7 +139,9 @@ if (${STACK_DETAILS_AUTO_DETECT})
# If we attempt to link against static bfd, make sure to link its dependencies, too
get_filename_component(bfd_lib_ext "${LIBBFD_LIBRARY}" EXT)
if (bfd_lib_ext STREQUAL "${CMAKE_STATIC_LIBRARY_SUFFIX}")
- list(APPEND _BACKWARD_LIBRARIES iberty z)
+ if (NOT APPLE)
+ list(APPEND _BACKWARD_LIBRARIES iberty z)
+ endif()
endif()
set(STACK_DETAILS_DW FALSE)