BUG: Bail out on generator initialization failure
This commit is contained in:
parent
40b6db1f4b
commit
b0d7f6999b
|
@ -372,6 +372,8 @@ int main (int argc, char *argv[])
|
|||
<< std::endl);
|
||||
parsed = 0;
|
||||
}
|
||||
if ( parsed )
|
||||
{
|
||||
#ifdef _WIN32
|
||||
std::string comspec = "cmw9xcom.exe";
|
||||
cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
|
||||
|
@ -410,6 +412,7 @@ int main (int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( !parsed || help )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue