From 90b168c400d7df0c489840e85513ff7da2ba0557 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 15 Apr 2022 20:08:35 +0300 Subject: [PATCH] generic: add backtraces feature information Signed-off-by: Ivailo Monev --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c54b747b..6c048eb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -269,6 +269,12 @@ add_feature_info(xscreensaver "Screen saver and screen locking support" ) +find_program(GDB_OR_LLDB_EXECUTABLE NAMES gdb lldb) +add_feature_info(gdb_or_lldb + GDB_OR_LLDB_EXECUTABLE + "Backtraces support" +) + check_include_files(sys/wait.h HAVE_SYS_WAIT_H) check_include_files(sys/time.h HAVE_SYS_TIME_H) -- 2.11.0