diff options
author | Brad King <brad.king@kitware.com> | 2021-07-27 13:10:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-27 13:10:31 (GMT) |
commit | f90e100b73da6322b68e2ddf92a7c8e5420ce481 (patch) | |
tree | 3efc322188cb87e5b7f467ece4d9cd2c01ef800b | |
parent | f90d995e1a84285003d8e273fb051839e3836c29 (diff) | |
parent | aa4c30182b0c258cddfb0582e7cfc2561b69a378 (diff) | |
download | CMake-f90e100b73da6322b68e2ddf92a7c8e5420ce481.zip CMake-f90e100b73da6322b68e2ddf92a7c8e5420ce481.tar.gz CMake-f90e100b73da6322b68e2ddf92a7c8e5420ce481.tar.bz2 |
Merge topic 'disable-exec-info' into release-3.21
aa4c30182b Add option to explicitly avoid using execinfo for backtraces
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6386
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 44b433a..9944ea4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -361,6 +361,9 @@ macro (CMAKE_BUILD_UTILITIES) if(CMake_NO_CXX_STANDARD) set(KWSYS_CXX_STANDARD "") endif() + if(CMake_NO_SELF_BACKTRACE) + set(KWSYS_NO_EXECINFO 1) + endif() if(WIN32) # FIXME: Teach KWSys to hard-code these checks on Windows. set(KWSYS_C_HAS_CLOCK_GETTIME_MONOTONIC_COMPILED 0) |