mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 01:19:31 -05:00
37e27f71bc
As written, foreach loops with a trailing `IN` (i.e., no loop variable(s) given) lead to an assertion error. Handle this case by exiting early when we know the loop won't execute anything. Fixes: #27135
15 KiB
15 KiB