From 429393cb64923c8483584c836d254a97e6478159 Mon Sep 17 00:00:00 2001 From: Meng Xin Date: Tue, 10 Aug 2021 20:01:15 +0800 Subject: [PATCH] enable unwind (#2655) --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f9a0cda24d..fa9c51b710f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -299,6 +299,9 @@ include (libs/libcommon/cmake/find_cctz.cmake) if (ENABLE_MYSQL_STORAGE) include (libs/libmysqlxx/cmake/find_mysqlclient.cmake) endif() + +option (ENABLE_UNWIND "Enable libunwind (better stacktraces)" ON) + include (libs/libdaemon/cmake/find_unwind.cmake) include (cmake/print_flags.cmake)