summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.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/cmFLTKWrapUICommand.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/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index d17d664..c64e813 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -117,7 +117,7 @@ void cmFLTKWrapUICommand::FinalPass()
// people should add the srcs to the target themselves, but the old command
// didn't support that, so check and see if they added the files in and if
// they didn;t then print a warning and add then anyhow
- cmTarget* target = this->Makefile->FindTarget(this->Target);
+ cmTarget* target = this->Makefile->FindLocalNonAliasTarget(this->Target);
if(!target)
{
std::string msg =