summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-22 14:01:53 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-07-22 14:01:53 (GMT)
commite8dbdcaf0ca3ccf785bae6b2eeb49c03a0a2edf3 (patch)
treeb7329a4271b215b35e335e370c4da0850573ad7c /Source/cmLinkLibrariesCommand.cxx
parent353050fb4efaef81d85c4df917ad4c7131345aaf (diff)
downloadCMake-e8dbdcaf0ca3ccf785bae6b2eeb49c03a0a2edf3.zip
CMake-e8dbdcaf0ca3ccf785bae6b2eeb49c03a0a2edf3.tar.gz
CMake-e8dbdcaf0ca3ccf785bae6b2eeb49c03a0a2edf3.tar.bz2
allows no arguments
Diffstat (limited to 'Source/cmLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmLinkLibrariesCommand.cxx3
1 files changed, 1 insertions, 2 deletions
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);