Files
CMake/Tests/RunCMake/MaxRecursionDepth/CMakeLists.txt
Kyle Edwards a6982cff0d cmMakefile: Impose maximum recursion limit
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
2019-01-23 09:52:29 -05:00

6 lines
162 B
CMake

cmake_minimum_required(VERSION 3.13)
if(DEFINED CMAKE_GENERATOR)
project(${RunCMake_TEST} NONE)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/${TEST_NAME}.cmake")