endblock — CMake 4.0.1 Documentation (original) (raw)

Added in version 3.25.

Ends a list of commands in a block() and removes the scopes created by the block() command.

endblock()