summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNMakeMakefileGenerator.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/cmGlobalNMakeMakefileGenerator.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/cmGlobalNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx
index 8f8d64e..4219c34 100644
--- a/Source/cmGlobalNMakeMakefileGenerator.cxx
+++ b/Source/cmGlobalNMakeMakefileGenerator.cxx
@@ -20,8 +20,8 @@ cmGlobalNMakeMakefileGenerator::cmGlobalNMakeMakefileGenerator(cmake* cm)
this->ForceUnixPaths = false;
this->ToolSupportsColor = true;
this->UseLinkScript = false;
- this->WindowsShell = true;
- this->NMake = true;
+ cm->GetState()->SetWindowsShell(true);
+ cm->GetState()->SetNMake(true);
this->DefineWindowsNULL = true;
this->PassMakeflags = true;
this->UnixCD = false;