mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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)
|