cmElseIfCommand.cxx 454 B

12345678910111213
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #include "cmElseIfCommand.h"
  4. class cmExecutionStatus;
  5. bool cmElseIfCommand::InitialPass(std::vector<std::string> const&,
  6. cmExecutionStatus&)
  7. {
  8. this->SetError("An ELSEIF command was found outside of a proper "
  9. "IF ENDIF structure.");
  10. return false;
  11. }