diff options
author | Brad King <brad.king@kitware.com> | 2016-04-05 13:37:59 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-04-05 13:37:59 (GMT) |
commit | adea45e15abf95b53e13ea8564cad9fc8e35ed56 (patch) | |
tree | b8a655cd4d53b8cb5a691b6f88c3f825f617d157 /Source/cmInstallCommand.cxx | |
parent | 6c60f116cb2bfe6753f526ceacfb5e54bc22efc5 (diff) | |
parent | 0e44f4894f23d5eccd8d360f3420c832f9433a20 (diff) | |
download | CMake-adea45e15abf95b53e13ea8564cad9fc8e35ed56.zip CMake-adea45e15abf95b53e13ea8564cad9fc8e35ed56.tar.gz CMake-adea45e15abf95b53e13ea8564cad9fc8e35ed56.tar.bz2 |
Merge topic 'fix-target-alias-in-subdir'
0e44f489 Rename local target lookup methods to clarify purpose
bc30f8b5 Fix lookup of an ALIAS target outside aliased target's directory (#16044)
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 26a1485..f70f252 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -388,7 +388,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 && |