diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b91700..5dd3295 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ elseif(BOOST_STACKTRACE_ENABLE_BASIC) set(BOOST_STACKTRACE_IMPL_DEFAULT_IMPLEMENTATION Boost::stacktrace_basic) elseif(BOOST_STACKTRACE_ENABLE_NOOP) set(BOOST_STACKTRACE_IMPL_DEFAULT_IMPLEMENTATION Boost::stacktrace_noop) -endif +endif() stacktrace_add_library(from_exception ${BOOST_STACKTRACE_ENABLE_FROM_EXCEPTION} "${CMAKE_DL_LIBS} ${BOOST_STACKTRACE_IMPL_DEFAULT_IMPLEMENTATION}" "")