summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.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/cmLocalNinjaGenerator.cxx
parent22590805bffe74c3b4998152556561a2c2b6d177 (diff)
downloadCMake-dd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f.zip
CMake-dd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f.tar.gz
CMake-dd11f72ced8a5a42ae0a1d7ca8a51b94e670a66f.tar.bz2
cmGlobalGenerator: Base exclusion computation on cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 9889bd4..1822c97 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -90,7 +90,7 @@ void cmLocalNinjaGenerator::Generate()
// Add the target to "all" if required.
if (!this->GetGlobalNinjaGenerator()->IsExcluded(
this->GetGlobalNinjaGenerator()->GetLocalGenerators()[0],
- *t->second->Target))
+ t->second))
this->GetGlobalNinjaGenerator()->AddDependencyToAll(t->second->Target);
delete tg;
}