cmTarget: Remove the project argument to FindTarget

All callers passed 0 in, so just remove the branch.
This commit is contained in:
Ben Boeckel
2014-02-08 11:39:22 -05:00
committed by Brad King
parent 23e9b80f58
commit 8d60da0cb5
9 changed files with 25 additions and 45 deletions

View File

@@ -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