summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-27 19:42:33 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-27 19:42:33 (GMT)
commitcfe9fda9fe49c8b728cdae2074a49f65a021bacb (patch)
tree54801e0f82b2569fec3567ec319cbc84beffcd06 /Source/cmTarget.cxx
parentd44bd2551c1c321b16be881e1bd7092d81c7bb13 (diff)
downloadCMake-cfe9fda9fe49c8b728cdae2074a49f65a021bacb.zip
CMake-cfe9fda9fe49c8b728cdae2074a49f65a021bacb.tar.gz
CMake-cfe9fda9fe49c8b728cdae2074a49f65a021bacb.tar.bz2
ENH: here we really want only non-imported targets, as discussed with Brad
Alex
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index c0e4484..46d4273 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -538,9 +538,9 @@ bool cmTargetTraceDependencies::IsUtility(std::string const& dep)
util = cmSystemTools::GetFilenameWithoutLastExtension(util);
}
- // Check for a target with this name.
+ // Check for a non-imported target with this name.
if(cmTarget* t =
- this->GlobalGenerator->FindTarget(0, util.c_str(), true))
+ this->GlobalGenerator->FindTarget(0, util.c_str(), false))
{
// If we find the target and the dep was given as a full path,
// then make sure it was not a full path to something else, and