endforeach — CMake 4.0.1 Documentation (original) (raw)
Ends a list of commands in a foreach block.
endforeach([])
See the foreach() command.
The optional <loop_var>
argument is supported for backward compatibility only. If used it must be a verbatim repeat of the <loop_var>
argument of the opening foreach
clause.