We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbb0e77 + 998f176 commit 54fc561Copy full SHA for 54fc561
BackwardMacros.cmake
@@ -104,8 +104,10 @@ macro(map_definitions var_prefix define_prefix)
104
endforeach()
105
endmacro()
106
107
-map_definitions("STACK_WALKING_" "BACKWARD_HAS_" UNWIND BACKTRACE)
108
-map_definitions("STACK_DETAILS_" "BACKWARD_HAS_" BACKTRACE_SYMBOL DW BFD)
+if (NOT BACKWARD_DEFINITIONS)
+ map_definitions("STACK_WALKING_" "BACKWARD_HAS_" UNWIND BACKTRACE)
109
+ map_definitions("STACK_DETAILS_" "BACKWARD_HAS_" BACKTRACE_SYMBOL DW BFD)
110
+endif()
111
112
foreach(def ${BACKWARD_DEFINITIONS})
113
message(STATUS "${def}")
0 commit comments