diff --git a/Source/cmLinkDirectoriesCommand.cxx b/Source/cmLinkDirectoriesCommand.cxx index 468fda239..9f336bc23 100644 --- a/Source/cmLinkDirectoriesCommand.cxx +++ b/Source/cmLinkDirectoriesCommand.cxx @@ -21,8 +21,7 @@ bool cmLinkDirectoriesCommand::InitialPass(std::vector const& argsI { if(argsIn.size() < 1 ) { - this->SetError("called with incorrect number of arguments"); - return false; + return true; } std::vector args; cmSystemTools::ExpandListArguments(argsIn, args);