minor fix in error checking
This commit is contained in:
parent
c0865937b1
commit
667a57d157
@ -423,6 +423,7 @@ void CMakeSetupDialog::OnBuildProjects()
|
|||||||
{
|
{
|
||||||
cmSystemTools::Error(
|
cmSystemTools::Error(
|
||||||
"Error in generation process, project files may be invalid");
|
"Error in generation process, project files may be invalid");
|
||||||
|
cmSystemTools::ResetErrorOccuredFlag();
|
||||||
}
|
}
|
||||||
// update the GUI with any new values in the caused by the
|
// update the GUI with any new values in the caused by the
|
||||||
// generation process
|
// generation process
|
||||||
|
@ -238,7 +238,6 @@ int cmake::Generate(const std::vector<std::string>& args)
|
|||||||
|
|
||||||
if(cmSystemTools::GetErrorOccuredFlag())
|
if(cmSystemTools::GetErrorOccuredFlag())
|
||||||
{
|
{
|
||||||
cmSystemTools::ResetErrorOccuredFlag();
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user