summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-09 15:17:16 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-13 15:45:58 (GMT)
commit89b69bf1addad6138b9aa51c2f67380c9e489f2f (patch)
tree7831693deb449f72c7d9e983c3a3ca5f3deef6ba /Help/variable
parent395895bda72462c59e18135e98662e47f52138ba (diff)
downloadCMake-89b69bf1addad6138b9aa51c2f67380c9e489f2f.zip
CMake-89b69bf1addad6138b9aa51c2f67380c9e489f2f.tar.gz
CMake-89b69bf1addad6138b9aa51c2f67380c9e489f2f.tar.bz2
Add CMAKE_MAXIMUM_RECURSION_DEPTH environment variable
Extend the recursion limit controls added by commit a6982cff0d (cmMakefile: Impose maximum recursion limit, 2018-12-14, v3.14.0-rc1~82^2) with an environment variable that is used if the CMake variable of the same name is not set.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_MAXIMUM_RECURSION_DEPTH.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_MAXIMUM_RECURSION_DEPTH.rst b/Help/variable/CMAKE_MAXIMUM_RECURSION_DEPTH.rst
index 59c60d3..b611967 100644
--- a/Help/variable/CMAKE_MAXIMUM_RECURSION_DEPTH.rst
+++ b/Help/variable/CMAKE_MAXIMUM_RECURSION_DEPTH.rst
@@ -33,3 +33,5 @@ Calling any of the following commands increases the recursion depth:
depth)
* Reading or writing variables that are being watched by a
:command:`variable_watch`
+
+See also the :envvar:`CMAKE_MAXIMUM_RECURSION_DEPTH` environment variable.