summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-01 14:26:08 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-01 19:44:16 (GMT)
commit0e44f4894f23d5eccd8d360f3420c832f9433a20 (patch)
treec155f2d4761efd7243aeea4be92c19f705b3a1b0 /Source/cmLocalGenerator.cxx
parentbc30f8b5e66cb9c15fd224f5e51454c0bc66c67e (diff)
downloadCMake-0e44f4894f23d5eccd8d360f3420c832f9433a20.zip
CMake-0e44f4894f23d5eccd8d360f3420c832f9433a20.tar.gz
CMake-0e44f4894f23d5eccd8d360f3420c832f9433a20.tar.bz2
Rename local target lookup methods to clarify purpose
Rename methods: * `cmMakefile::Find{ => LocalNonAlias}Target` * `cmLocalGenerator::Find{ => LocalNonAlias}GeneratorTarget` These names clarify that they are for directory-local target names and do not consider alias targets.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6153fbd..586e4c6 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -485,7 +485,7 @@ private:
std::string Name;
};
-cmGeneratorTarget* cmLocalGenerator::FindGeneratorTarget(
+cmGeneratorTarget* cmLocalGenerator::FindLocalNonAliasGeneratorTarget(
const std::string& name) const
{
std::vector<cmGeneratorTarget*>::const_iterator ti =
@@ -1828,7 +1828,7 @@ cmLocalGenerator::FindGeneratorTargetToUse(const std::string& name) const
return *imported;
}
- if(cmGeneratorTarget* t = this->FindGeneratorTarget(name))
+ if(cmGeneratorTarget* t = this->FindLocalNonAliasGeneratorTarget(name))
{
return t;
}