diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-23 11:32:05 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-09-23 11:32:05 +0200 |
commit | 8e4aa143d918cac7b7051792de04dd5554525a83 (patch) | |
tree | 688de7ed4ac8d0d7ca2d54d5ea750d6a9ff9f0fa /kmtrace/ConfigureChecks.cmake | |
parent | 2ffff0ed74cf0e7732af1bc6ea6664c927c16fed (diff) | |
download | tdesdk-8e4aa143d918cac7b7051792de04dd5554525a83.tar.gz tdesdk-8e4aa143d918cac7b7051792de04dd5554525a83.zip |
Fix backtrace detection with CMake 2.x.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmtrace/ConfigureChecks.cmake')
-rw-r--r-- | kmtrace/ConfigureChecks.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |