File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ endif()
32
32
# Always looking for stacktrace can cause problems when cross compiling
33
33
# Hence, avoid finding boost if user didn't ask for it.
34
34
option (EKAT_ENABLE_BOOST_STACKTRACE "Whether to enable Boost stacktrace" OFF )
35
+
35
36
if (EKAT_ENABLE_BOOST_STACKTRACE)
36
37
message (STATUS "Looking for boost::stacktrace ..." )
37
38
# Stacktrace is available with Boost>=1.65
@@ -77,7 +78,7 @@ endif()
77
78
78
79
if (EKAT_HAS_STACKTRACE)
79
80
target_link_libraries (ekat_core PUBLIC ${Boost_LIBRARIES} )
80
- target_compile_definitions (ekat_core PRIVATE EKAT_HAS_STACKTRACE)
81
+ target_compile_definitions (ekat_core PRIVATE EKAT_HAS_STACKTRACE BOOST_STACKTRACE_USE_ADDR2LINE )
81
82
endif ()
82
83
83
84
if (EKAT_DEFAULT_BFB)
You can’t perform that action at this time.
0 commit comments