mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmTarget: Remove the project argument to FindTarget
All callers passed 0 in, so just remove the branch.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user