diff options
author | Brad King <brad.king@kitware.com> | 2016-04-01 14:26:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-01 19:44:16 (GMT) |
commit | 0e44f4894f23d5eccd8d360f3420c832f9433a20 (patch) | |
tree | c155f2d4761efd7243aeea4be92c19f705b3a1b0 /Source/cmInstallCommand.cxx | |
parent | bc30f8b5e66cb9c15fd224f5e51454c0bc66c67e (diff) | |
download | CMake-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/cmInstallCommand.cxx')
-rw-r--r-- | Source/cmInstallCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 2d78a41..7e72a8a 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -381,7 +381,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args) return false; } // Lookup this target in the current directory. - if(cmTarget* target=this->Makefile->FindTarget(*targetIt)) + if(cmTarget* target=this->Makefile->FindLocalNonAliasTarget(*targetIt)) { // Found the target. Check its type. if(target->GetType() != cmState::EXECUTABLE && |