diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 16:50:34 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-14 20:36:27 +0200 |
commit | 34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa (patch) | |
tree | 83940147cdf05b1b82caff2c3f4b640b35ca83c0 /Source/cmGlobalVisualStudio9Generator.cxx | |
parent | 3837c48334ff670d9132f80e35a31e263b21d3a1 (diff) | |
download | cmake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.tar.gz |
cmLocalGenerator: Require a global generator in the constructor.
Port generator factory methods to pass it.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 0303c277c4..8adde23b0a 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -119,9 +119,8 @@ cmGlobalVisualStudio9Generator::CreateLocalGenerator(cmLocalGenerator* parent) { cmLocalVisualStudio7Generator *lg = new cmLocalVisualStudio7Generator(cmLocalVisualStudioGenerator::VS9, - parent); + this, parent); lg->SetExtraFlagTable(this->GetExtraFlagTableVS8()); - lg->SetGlobalGenerator(this); return lg; } |