aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindBacktrace.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindBacktrace.cmake')
-rw-r--r--cmake/FindBacktrace.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/FindBacktrace.cmake b/cmake/FindBacktrace.cmake
index 89bbad07c..8137125ab 100644
--- a/cmake/FindBacktrace.cmake
+++ b/cmake/FindBacktrace.cmake
@@ -83,6 +83,14 @@ else()
set(_Backtrace_STD_ARGS Backtrace_LIBRARY ${_Backtrace_STD_ARGS})
endif()
+message(STATUS "Backtrace_LIBRARY: ${Backtrace_LIBRARY}")
+if(Backtrace_LIBRARY STREQUAL "NOTFOUND")
+ set(Backtrace_LIBRARY "")
+endif()
+if(Backtrace_LIBRARY STREQUAL "Backtrace_LIBRARY-NOTFOUND")
+ set(Backtrace_LIBRARY "")
+endif()
+
set(Backtrace_LIBRARIES ${Backtrace_LIBRARY})
set(Backtrace_HEADER "${_Backtrace_HEADER_TRY}" CACHE STRING "Header providing backtrace(3) facility")