Skip to content

cmake: Reduce default recursion depth when compiling for Windows ARM64

On Windows ARM64 the stack frames are large enough (at least in Debug builds) that CMake language recursion to depth 1000 overflows the stack. Reduce the limit for this compiler.

Suggested-by: @bill-hoffman

Merge request reports