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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CallEnableLanguage-result.txt | ||
CallEnableLanguage-stderr.txt | ||
CallEnableLanguage-toolchain.cmake | ||
CallEnableLanguage.cmake | ||
CallProject-result.txt | ||
CallProject-stderr.txt | ||
CallProject-toolchain.cmake | ||
CallProject.cmake | ||
RunCMakeTest.cmake |