From d9b00829d60ef1f0cd5fe8c8c625aedc721cdb9d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 13 Sep 2023 14:38:46 +0100 Subject: [PATCH] [Minor] Another try --- contrib/backward-cpp/BackwardConfig.cmake | 13 ++++--------- 1 file 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") -- 2.39.5