diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-08 11:39:22 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 13:05:34 -0500 |
commit | 8d60da0cb56b44815f02ece01e224e1f4eba6c80 (patch) | |
tree | 0005425533e1ee87ef7decefafd40fa7921ded14 /Source/cmTargetPropCommandBase.cxx | |
parent | 23e9b80f585db1cc68846a54e6e5844f970215ea (diff) | |
download | cmake-8d60da0cb56b44815f02ece01e224e1f4eba6c80.tar.gz |
cmTarget: Remove the project argument to FindTarget
All callers passed 0 in, so just remove the branch.
Diffstat (limited to 'Source/cmTargetPropCommandBase.cxx')
-rw-r--r-- | Source/cmTargetPropCommandBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx index 2a20516ac0..1a1cfa064d 100644 --- a/Source/cmTargetPropCommandBase.cxx +++ b/Source/cmTargetPropCommandBase.cxx @@ -34,7 +34,7 @@ bool cmTargetPropCommandBase } this->Target = this->Makefile->GetCMakeInstance() - ->GetGlobalGenerator()->FindTarget(0, args[0].c_str()); + ->GetGlobalGenerator()->FindTarget(args[0].c_str()); if(!this->Target) { this->Target = this->Makefile->FindTargetToUse(args[0]); |