Skip to content

file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty lists

Craig Scott requested to merge craig.scott/cmake:file-accept-empty-lists into master

Projects may be generating a list of files or directories to pass as arguments to file(TOUCH), file(TOUCH_NOCREATE), or file(MAKE_DIRECTORY). Those lists might end up being empty, so rather than requiring at least one item, allow an empty list.

Fixes: #24897 (closed)

Merge request reports