CMAKE_MAXIMUM_RECURSION_DEPTH

在 3.27 版被加入.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Maximum recursion depth for CMake scripts. This environment variable is used if the CMAKE_MAXIMUM_RECURSION_DEPTH variable is not set. See that variable's documentation for details.