summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 3a4a0d5..b3fc121 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1012,6 +1012,9 @@ int cmake::Configure()
if(genName)
{
m_GlobalGenerator = this->CreateGlobalGenerator(genName);
+ }
+ if(m_GlobalGenerator)
+ {
// set the global flag for unix style paths on cmSystemTools as
// soon as the generator is set. This allows gmake to be used
// on windows.