diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-08 16:39:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:34 (GMT) |
commit | 8d60da0cb56b44815f02ece01e224e1f4eba6c80 (patch) | |
tree | 0005425533e1ee87ef7decefafd40fa7921ded14 /Source/cmGlobalGenerator.h | |
parent | 23e9b80f585db1cc68846a54e6e5844f970215ea (diff) | |
download | CMake-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/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index ce285d6..746f715 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -211,7 +211,7 @@ public: virtual void FindMakeProgram(cmMakefile*); ///! Find a target by name by searching the local generators. - cmTarget* FindTarget(const char* project, const std::string& name, + cmTarget* FindTarget(const std::string& name, bool excludeAliases = false) const; void AddAlias(const std::string& name, cmTarget *tgt); |