BUG: fix crash from bug id 806

This commit is contained in:
Bill Hoffman 2004-04-29 10:26:22 -04:00
parent 1620242ac4
commit 55af104169
1 changed files with 3 additions and 0 deletions

View File

@ -1012,6 +1012,9 @@ int cmake::Configure()
if(genName) if(genName)
{ {
m_GlobalGenerator = this->CreateGlobalGenerator(genName); m_GlobalGenerator = this->CreateGlobalGenerator(genName);
}
if(m_GlobalGenerator)
{
// set the global flag for unix style paths on cmSystemTools as // set the global flag for unix style paths on cmSystemTools as
// soon as the generator is set. This allows gmake to be used // soon as the generator is set. This allows gmake to be used
// on windows. // on windows.