diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 14:59:06 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-22 13:23:46 -0400 |
commit | e77142350de1dec03ca788e3d3e278b7b9358fb5 (patch) | |
tree | d3e50ef3ef2352753a429010f0a09d2227fe7393 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 5aa556be560b782d149b53bccc12dfc2be2bda0b (diff) | |
download | cmake-e77142350de1dec03ca788e3d3e278b7b9358fb5.tar.gz |
Get the local generator from the GeneratorTarget.
The Makefile should not know the LocalGenerator at all
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 9b78df3b7c..12a1e42c0d 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -176,7 +176,7 @@ cmVisualStudio10TargetGenerator(cmTarget* target, this->Makefile->GetConfigurations(this->Configurations); this->LocalGenerator = (cmLocalVisualStudio7Generator*) - this->Makefile->GetLocalGenerator(); + this->GeneratorTarget->GetLocalGenerator(); this->Name = this->Target->GetName(); this->GUID = this->GlobalGenerator->GetGUID(this->Name.c_str()); this->Platform = gg->GetPlatformName(); |