summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkDirectoriesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLinkDirectoriesCommand.cxx')
-rw-r--r--Source/cmLinkDirectoriesCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLinkDirectoriesCommand.cxx b/Source/cmLinkDirectoriesCommand.cxx
index 468fda2..9f336bc 100644
--- a/Source/cmLinkDirectoriesCommand.cxx
+++ b/Source/cmLinkDirectoriesCommand.cxx
@@ -21,8 +21,7 @@ bool cmLinkDirectoriesCommand::InitialPass(std::vector<std::string> const& argsI
{
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);