summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 12:09:35 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-06 22:32:15 (GMT)
commitdd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f (patch)
tree324878c75900ceb6c05c5061f8f109f48dfc2ba5 /Source/cmGlobalUnixMakefileGenerator3.cxx
parent22590805bffe74c3b4998152556561a2c2b6d177 (diff)
downloadCMake-dd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f.zip
CMake-dd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f.tar.gz
CMake-dd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f.tar.bz2
cmGlobalGenerator: Base exclusion computation on cmGeneratorTarget.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index 69747a4..76d059ee 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -821,7 +821,7 @@ cmGlobalUnixMakefileGenerator3
localName, depends, commands, true);
// add the all/all dependency
- if(!this->IsExcluded(this->LocalGenerators[0], *gtarget->Target))
+ if(!this->IsExcluded(this->LocalGenerators[0], gtarget))
{
depends.clear();
depends.push_back(localName);
@@ -889,7 +889,7 @@ cmGlobalUnixMakefileGenerator3
"Pre-install relink rule for target.",
localName, depends, commands, true);
- if(!this->IsExcluded(this->LocalGenerators[0], *gtarget->Target))
+ if(!this->IsExcluded(this->LocalGenerators[0], gtarget))
{
depends.clear();
depends.push_back(localName);