aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/backward-cpp/BackwardConfig.cmake13
1 files changed, 4 insertions, 9 deletions
diff --git a/contrib/backward-cpp/BackwardConfig.cmake b/contrib/backward-cpp/BackwardConfig.cmake
index 594f5db68..e04e3facb 100644
--- a/contrib/backward-cpp/BackwardConfig.cmake
+++ b/contrib/backward-cpp/BackwardConfig.cmake
@@ -31,20 +31,15 @@ set(STACK_WALKING_BACKTRACE FALSE CACHE BOOL
set(STACK_WALKING_LIBUNWIND FALSE CACHE BOOL
"Use libunwind for stack walking")
-set(STACK_DETAILS_AUTO_DETECT FALSE CACHE BOOL
- "Auto detect backward's stack details dependencies")
+set(STACK_DETAILS_AUTO_DETECT TRUE CACHE BOOL
+ "Auto detect backward's stack details dependencies")
set(STACK_DETAILS_BACKTRACE_SYMBOL FALSE CACHE BOOL
"Use backtrace from (e)glibc for symbols resolution")
set(STACK_DETAILS_DW FALSE CACHE BOOL
- "Use libdw to read debug info")
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(STACK_DETAILS_BFD TRUE CACHE BOOL
+ "Use libdw to read debug info")
+set(STACK_DETAILS_BFD FALSE CACHE BOOL
"Use libbfd to read debug info")
-else()
- set(STACK_DETAILS_BFD FALSE CACHE BOOL
- "Use libbfd to read debug info")
-endif()
set(STACK_DETAILS_DWARF FALSE CACHE BOOL
"Use libdwarf/libelf to read debug info")