Skip to content

Commit

Permalink
Always link boost_stacktrace/Boost::stacktrace with Boost::stacktrace…
Browse files Browse the repository at this point in the history
…_from_exception if it is awailable in CMake
  • Loading branch information
apolukhin committed Oct 16, 2024
1 parent 6504ed9 commit 344f6ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ elseif(BOOST_STACKTRACE_ENABLE_NOOP)

target_link_libraries(boost_stacktrace INTERFACE Boost::stacktrace_noop)

elseif(BOOST_STACKTRACE_ENABLE_FROM_EXCEPTION)
endif()

if(BOOST_STACKTRACE_ENABLE_FROM_EXCEPTION)

target_link_libraries(boost_stacktrace INTERFACE Boost::stacktrace_from_exception)

Expand Down

0 comments on commit 344f6ba

Please sign in to comment.