cmake / 3.18 / command / else.html

else

Starts the else portion of an if block.

else([<condition>])

See the if() command.

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.18/command/else.html