summaryrefslogtreecommitdiffstats
path: root/kmtrace
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-23 11:32:05 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-09-23 11:32:05 +0200
commit8e4aa143d918cac7b7051792de04dd5554525a83 (patch)
tree688de7ed4ac8d0d7ca2d54d5ea750d6a9ff9f0fa /kmtrace
parent2ffff0ed74cf0e7732af1bc6ea6664c927c16fed (diff)
downloadtdesdk-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')
-rw-r--r--kmtrace/ConfigureChecks.cmake4
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 )