https://github.com/Kitware/CMake
Raw File
Tip revision: 95cce32470b9fbddf3b6f4bd0d186ec5efe50371 authored by Brad King on 07 July 2022, 15:02:54 UTC
CMake 3.24.0-rc3
Tip revision: 95cce32
endif.rst
endif
-----

Ends a list of commands in an if block.

.. code-block:: cmake

  endif([<condition>])

See the :command:`if` command.

The optional ``<condition>`` argument is supported for backward compatibility
only. If used it must be a verbatim repeat of the argument of the opening
``if`` clause.
back to top