mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
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.
This commit is contained in:
@@ -8,3 +8,6 @@ Starts the else portion of an if block.
|
||||
else([<condition>])
|
||||
|
||||
See the :command:`if` command.
|
||||
|
||||
The optional ``<condition>`` argument is supported for backward compatibility
|
||||
only and is not evaluated.
|
||||
|
||||
Reference in New Issue
Block a user