summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-29 14:26:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-29 14:26:22 (GMT)
commit55af10416997d9e46de98cca64c98a50543d7b76 (patch)
tree077260de456ae46e285dca2bed9615a30457cdca /Source
parent1620242ac444fe71031471039bab64092e692d17 (diff)
downloadCMake-55af10416997d9e46de98cca64c98a50543d7b76.zip
CMake-55af10416997d9e46de98cca64c98a50543d7b76.tar.gz
CMake-55af10416997d9e46de98cca64c98a50543d7b76.tar.bz2
BUG: fix crash from bug id 806
Diffstat (limited to 'Source')
-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.