mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
7dd3e99270
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
74 B
CMake
3 lines
74 B
CMake
set(mylist alpha bravo charlie)
|
|
list(TRANSFORM mylist TOUPPER FOR 0 2 -1)
|