72e0dc58d3
Calling `project()` or `enable_language()` from a toolchain file will infinitely recurse since those commands load the toolchain file. Diagnose and reject this case with an error message instead of crashing when the stack eventually overflows.
4 lines
99 B
CMake
4 lines
99 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(${RunCMake_TEST} NONE)
|
|
include(${RunCMake_TEST}.cmake)
|