mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Fixes crashes involving invalid ranges specified in list(TRANSFORM ... FOR ...) calls. * Report error when step is not positive * Report error when start is after stop Fixes: #22985
3 lines
73 B
CMake
3 lines
73 B
CMake
set(mylist alpha bravo charlie)
|
|
list(TRANSFORM mylist TOUPPER FOR 0 2 0)
|