mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
In order to keep infinitely-recursive scripts from causing a stack overflow in the CMake executable, CMake now imposes a maximum recursion limit before issuing an error message. The limit can be adjusted at runtime with CMAKE_MAXIMUM_RECURSION_DEPTH. Fixes: #18694
7 lines
240 B
ReStructuredText
7 lines
240 B
ReStructuredText
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`.
|