minor fix in error checking

This commit is contained in:
Ken Martin 2001-06-11 18:00:38 -04:00
parent c0865937b1
commit 667a57d157
2 changed files with 1 additions and 1 deletions

View File

@ -423,6 +423,7 @@ void CMakeSetupDialog::OnBuildProjects()
{
cmSystemTools::Error(
"Error in generation process, project files may be invalid");
cmSystemTools::ResetErrorOccuredFlag();
}
// update the GUI with any new values in the caused by the
// generation process

View File

@ -238,7 +238,6 @@ int cmake::Generate(const std::vector<std::string>& args)
if(cmSystemTools::GetErrorOccuredFlag())
{
cmSystemTools::ResetErrorOccuredFlag();
return -1;
}
return 0;