gbe_fork/cmake/share/cmake-3.27/Help/command/endif.rst

15 lines
314 B
ReStructuredText
Raw Normal View History

2023-12-17 02:34:09 +08:00
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.