CMake/Help/command/else.rst
Peter Kokot 9f2efc3270
Remove optional arguments from else() and end*() commands
This adds a brief explanation of the optional condition in the `else()`
and removes all legacy usages of `else()` and `end*()` commands.
2025-01-28 03:01:23 +01:00

14 lines
235 B
ReStructuredText

else
----
Starts the else portion of an if block.
.. code-block:: cmake
else([<condition>])
See the :command:`if` command.
The optional ``<condition>`` argument is supported for backward compatibility
only and is not evaluated.