summaryrefslogtreecommitdiff
path: root/Source/cmElseIfCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-01-23 10:28:26 -0500
committerKen Martin <ken.martin@kitware.com>2008-01-23 10:28:26 -0500
commit0e69d38004787f1d55eb7188cde4cf45e0a3957d (patch)
tree6cde7d0b5ef4b0b9b6d4fc90db463418e073776b /Source/cmElseIfCommand.cxx
parent72a301f88008c3d98c4ae1f263084763dc662b31 (diff)
downloadcmake-0e69d38004787f1d55eb7188cde4cf45e0a3957d.tar.gz
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
Diffstat (limited to 'Source/cmElseIfCommand.cxx')
-rw-r--r--Source/cmElseIfCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmElseIfCommand.cxx b/Source/cmElseIfCommand.cxx
index 41b55b2c87..a296f0163d 100644
--- a/Source/cmElseIfCommand.cxx
+++ b/Source/cmElseIfCommand.cxx
@@ -16,7 +16,8 @@
=========================================================================*/
#include "cmElseIfCommand.h"
-bool cmElseIfCommand::InitialPass(std::vector<std::string> const&)
+bool cmElseIfCommand::InitialPass(std::vector<std::string> const&,
+ cmExecutionStatus &)
{
this->SetError("An ELSEIF command was found outside of a proper "
"IF ENDIF structure.");