summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-27 13:10:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-07-27 13:10:31 (GMT)
commit00199e96ef87c553ca254df69c54c41175315360 (patch)
tree9c873b7a29294f2954a3b4628b05b299c3cf745f /CMakeLists.txt
parent87f7aecc27c6f6650dfec345dcaa4ab265de211b (diff)
parentaa4c30182b0c258cddfb0582e7cfc2561b69a378 (diff)
downloadCMake-00199e96ef87c553ca254df69c54c41175315360.zip
CMake-00199e96ef87c553ca254df69c54c41175315360.tar.gz
CMake-00199e96ef87c553ca254df69c54c41175315360.tar.bz2
Merge topic 'disable-exec-info'
aa4c30182b Add option to explicitly avoid using execinfo for backtraces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6386
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1261eb0..fdfe456 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)