summaryrefslogtreecommitdiffstats
path: root/CMakeCPackOptions.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-07 18:31:25 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-07 18:52:38 (GMT)
commit72e0dc58d3caf63a57975e97ce13c5dc4b38cf9b (patch)
treec4011b95d6067e77f6074026d4ad9d5b381eee5b /CMakeCPackOptions.cmake.in
parent8256d021c8324779c7269658a094848ebeafb82e (diff)
downloadCMake-72e0dc58d3caf63a57975e97ce13c5dc4b38cf9b.zip
CMake-72e0dc58d3caf63a57975e97ce13c5dc4b38cf9b.tar.gz
CMake-72e0dc58d3caf63a57975e97ce13c5dc4b38cf9b.tar.bz2
Diagnose recursive project/enable_language without crashing (#15999)
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.
Diffstat (limited to 'CMakeCPackOptions.cmake.in')
0 files changed, 0 insertions, 0 deletions