mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-30 19:29:18 -06:00
This was regressed by refactoring in commit e08ba229ee (CMake code rely
on cmList class for CMake lists management (part. 1), 2023-04-14,
v3.27.0-rc1~174^2). Fix it and add a test case.
Fixes: #24986