summaryrefslogtreecommitdiffstats
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:22 +0200
commit24e88945f91db6d07241d4cc845c0c626f8f950b (patch)
tree111a66ebe9f2c7e2e8c5ed6da406205636ad71e5
parent77081f81b4c2bc2a12ed367c373b7690a6563070 (diff)
downloadtdesdk-r14.0.11.tar.gz
tdesdk-r14.0.11.zip
Fix backtrace detection with CMake 2.x.r14.0.11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8e4aa143d918cac7b7051792de04dd5554525a83)
-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 )