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