summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ToolchainFile/CallEnableLanguage.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Diagnose recursive project/enable_language without crashing (#15999)Brad King2016-03-071-0/+0
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.