1endmacro 2-------- 3 4Ends a list of commands in a macro block. 5 6.. code-block:: cmake 7 8 endmacro([<name>]) 9 10See the :command:`macro` command. 11 12The optional ``<name>`` argument is supported for backward compatibility 13only. If used it must be a verbatim repeat of the ``<name>`` argument 14of the opening ``macro`` command. 15