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 --