2014-08-03 19:52:23 +02:00
|
|
|
endif
|
|
|
|
-----
|
|
|
|
|
|
|
|
Ends a list of commands in an if block.
|
|
|
|
|
2019-11-11 23:01:05 +01:00
|
|
|
.. code-block:: cmake
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2019-11-11 23:01:05 +01:00
|
|
|
endif([<condition>])
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2015-11-17 17:22:37 +01:00
|
|
|
See the :command:`if` command.
|
2019-11-11 23:01:05 +01:00
|
|
|
|
|
|
|
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.
|