[CMake] Multiple ELSE() clauses

Rolf Eike Beer eike at sf-mail.de
Mon Mar 20 07:06:16 EDT 2017


Am 2017-03-20 11:57, schrieb Sergey Zakharchenko:
> Hello,
> 
> I've just noticed that CMake doesn't forbid multiple ELSE() (not just
> ELSEIF()) clauses, and proceeds without warnings.
> 
> IF(1)
> ELSE()
> ELSE()
> ENDIF()
> 
> Is this expected?

https://gitlab.kitware.com/cmake/cmake/issues/14335

-- 


More information about the CMake mailing list