summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/max-recursion-depth.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/release/dev/max-recursion-depth.rst')
-rw-r--r--Help/release/dev/max-recursion-depth.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/max-recursion-depth.rst b/Help/release/dev/max-recursion-depth.rst
new file mode 100644
index 0000000..3d9c781
--- /dev/null
+++ b/Help/release/dev/max-recursion-depth.rst
@@ -0,0 +1,6 @@
+max-recursion-depth
+-------------------
+
+* CMake now imposes a maximum recursion limit to prevent a stack overflow on
+ scripts that recurse infinitely. The limit can be adjusted at runtime with
+ :variable:`CMAKE_MAXIMUM_RECURSION_DEPTH`.