summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-24 09:46:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-27 13:18:31 (GMT)
commite12afe766ee9083637ac819ec69a7b4512c39718 (patch)
tree85db9cc4b3a6e0815d75423956f4f959de13f931 /Source/cmGlobalVisualStudioGenerator.cxx
parentc7b79aa16adc1117e62bf146c64f97c992ec2e2e (diff)
downloadCMake-e12afe766ee9083637ac819ec69a7b4512c39718.zip
CMake-e12afe766ee9083637ac819ec69a7b4512c39718.tar.gz
CMake-e12afe766ee9083637ac819ec69a7b4512c39718.tar.bz2
cmState: Host some state from the cmGlobalGenerator.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index 1cf990f..585d19a 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -24,8 +24,8 @@
cmGlobalVisualStudioGenerator::cmGlobalVisualStudioGenerator(cmake* cm)
: cmGlobalGenerator(cm)
{
- this->WindowsShell = true;
- this->WindowsVSIDE = true;
+ cm->GetState()->SetWindowsShell(true);
+ cm->GetState()->SetWindowsVSIDE(true);
}
//----------------------------------------------------------------------------