summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx3
-rw-r--r--Source/cmLinkLibrariesCommand.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index 48d51fd..f1d7ba9 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);
diff --git a/Source/cmLinkLibrariesCommand.cxx b/Source/cmLinkLibrariesCommand.cxx
index a97143f..ce26252 100644
--- a/Source/cmLinkLibrariesCommand.cxx
+++ b/Source/cmLinkLibrariesCommand.cxx
@@ -21,8 +21,7 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
{
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);