diff --git a/kmtrace/ConfigureChecks.cmake b/kmtrace/ConfigureChecks.cmake index 5c06aac6..476e63b2 100644 --- a/kmtrace/ConfigureChecks.cmake +++ b/kmtrace/ConfigureChecks.cmake @@ -4,8 +4,8 @@ if ( CMAKE_MAJOR_VERSION LESS "3" ) check_symbol_exists( backtrace "execinfo.h" HAVE_BACKTRACE ) if ( HAVE_BACKTRACE ) - set ( Backtrace_LIBRARY "" ) - set ( Backtrace_HEADER "execinfo.h" ) + set ( Backtrace_LIBRARY "" CACHE STRING "Library providing backtrace(3), empty for default set of libraries" ) + set ( Backtrace_HEADER "execinfo.h" CACHE STRING "Header providing backtrace(3) facility" ) endif () else () find_package( Backtrace )