summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-08 16:39:22 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:34 (GMT)
commit8d60da0cb56b44815f02ece01e224e1f4eba6c80 (patch)
tree0005425533e1ee87ef7decefafd40fa7921ded14 /Source/cmTargetLinkLibrariesCommand.cxx
parent23e9b80f585db1cc68846a54e6e5844f970215ea (diff)
downloadCMake-8d60da0cb56b44815f02ece01e224e1f4eba6c80.zip
CMake-8d60da0cb56b44815f02ece01e224e1f4eba6c80.tar.gz
CMake-8d60da0cb56b44815f02ece01e224e1f4eba6c80.tar.bz2
cmTarget: Remove the project argument to FindTarget
All callers passed 0 in, so just remove the branch.
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx
index 02da933..b16f311 100644
--- a/Source/cmTargetLinkLibrariesCommand.cxx
+++ b/Source/cmTargetLinkLibrariesCommand.cxx
@@ -39,7 +39,7 @@ bool cmTargetLinkLibrariesCommand
// Lookup the target for which libraries are specified.
this->Target =
this->Makefile->GetCMakeInstance()
- ->GetGlobalGenerator()->FindTarget(0, args[0].c_str());
+ ->GetGlobalGenerator()->FindTarget(args[0].c_str());
if(!this->Target)
{
cmake::MessageType t = cmake::FATAL_ERROR; // fail by default