summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.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/cmGlobalNinjaGenerator.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/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 86938bd..2c5896c 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -517,7 +517,7 @@ cmGlobalNinjaGenerator::cmGlobalNinjaGenerator(cmake* cm)
, PolicyCMP0058(cmPolicies::WARN)
{
#ifdef _WIN32
- this->WindowsShell = true;
+ cm->GetState()->SetWindowsShell(true);
#endif
// // Ninja is not ported to non-Unix OS yet.
// this->ForceUnixPaths = true;