mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
76f4fc7dd0
Since commit e3895f4a8b (Linking: Preserve nested LINKER: prefixes as
written, 2024-09-17, v3.31.0-rc1~60^2) we may increment an iterator past
the end. Revise logic to avoid that.
Fixes: #26499