Skip to content

Commit 344f6ba

Browse files
committed
Always link boost_stacktrace/Boost::stacktrace with Boost::stacktrace_from_exception if it is awailable in CMake
1 parent 6504ed9 commit 344f6ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ elseif(BOOST_STACKTRACE_ENABLE_NOOP)
132132

133133
target_link_libraries(boost_stacktrace INTERFACE Boost::stacktrace_noop)
134134

135-
elseif(BOOST_STACKTRACE_ENABLE_FROM_EXCEPTION)
135+
endif()
136+
137+
if(BOOST_STACKTRACE_ENABLE_FROM_EXCEPTION)
136138

137139
target_link_libraries(boost_stacktrace INTERFACE Boost::stacktrace_from_exception)
138140

0 commit comments

Comments
 (0)