summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-03 16:50:34 +0200
committerStephen Kelly <steveire@gmail.com>2015-05-14 20:36:27 +0200
commit34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa (patch)
tree83940147cdf05b1b82caff2c3f4b640b35ca83c0 /Source/cmLocalVisualStudioGenerator.cxx
parent3837c48334ff670d9132f80e35a31e263b21d3a1 (diff)
downloadcmake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.tar.gz
cmLocalGenerator: Require a global generator in the constructor.
Port generator factory methods to pass it.
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index 854ad34f63..f95d09b0da 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -19,8 +19,9 @@
//----------------------------------------------------------------------------
cmLocalVisualStudioGenerator
-::cmLocalVisualStudioGenerator(VSVersion v, cmLocalGenerator* parent)
- : cmLocalGenerator(parent)
+::cmLocalVisualStudioGenerator(VSVersion v, cmGlobalGenerator* gg,
+ cmLocalGenerator* parent)
+ : cmLocalGenerator(gg, parent)
{
this->WindowsShell = true;
this->WindowsVSIDE = true;