summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmIncludeCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index ce8ce85..e24f380 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -24,6 +24,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args)
{
this->SetError("called with wrong number of arguments. "
"Include only takes one file.");
+ return false;
}
bool optional = false;
if(args.size() == 2)