server-mode: Call ResetErrorOccured before configure

Closes: #16506
This commit is contained in:
Tobias Hunger 2016-12-16 09:24:39 +01:00 committed by Brad King
parent 12bea47fa4
commit 7789dd9a1a
1 changed files with 2 additions and 0 deletions

View File

@ -984,6 +984,8 @@ cmServerResponse cmServerProtocol1_0::ProcessConfigure(
}
}
cmSystemTools::ResetErrorOccuredFlag(); // Reset error state
if (cm->AddCMakePaths() != 1) {
return request.ReportError("Failed to set CMake paths.");
}