mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -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
3 lines
70 B
CMake
3 lines
70 B
CMake
set(x 3)
|
|
include("${CMAKE_CURRENT_LIST_DIR}/include_recursive.cmake")
|