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