summaryrefslogtreecommitdiff
path: root/Source/cmIncludeDirectoryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-22 10:01:53 -0400
committerKen Martin <ken.martin@kitware.com>2002-07-22 10:01:53 -0400
commite8dbdcaf0ca3ccf785bae6b2eeb49c03a0a2edf3 (patch)
treeb7329a4271b215b35e335e370c4da0850573ad7c /Source/cmIncludeDirectoryCommand.cxx
parent353050fb4efaef81d85c4df917ad4c7131345aaf (diff)
downloadcmake-e8dbdcaf0ca3ccf785bae6b2eeb49c03a0a2edf3.tar.gz
allows no arguments
Diffstat (limited to 'Source/cmIncludeDirectoryCommand.cxx')
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index 48d51fd9bf..f1d7ba9cef 100644
--- a/Source/cmIncludeDirectoryCommand.cxx
+++ b/Source/cmIncludeDirectoryCommand.cxx
@@ -21,8 +21,7 @@ bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string> const& args
{
if(argsIn.size() < 1 )
{
- this->SetError("called with incorrect number of arguments");
- return false;
+ return true;
}
std::vector<std::string> args;
cmSystemTools::ExpandListArguments(argsIn, args);