summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.cxx
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-12-16 08:24:39 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-16 13:54:37 (GMT)
commit7789dd9a1ae79d6747883739a21cf90c139d1e54 (patch)
tree349c0baeeecffc8a4c5fee71a7c09cd13b84ef4c /Source/cmServerProtocol.cxx
parent12bea47fa4d47b8e887ddbaf4c4fcc312d3052dc (diff)
downloadCMake-7789dd9a1ae79d6747883739a21cf90c139d1e54.zip
CMake-7789dd9a1ae79d6747883739a21cf90c139d1e54.tar.gz
CMake-7789dd9a1ae79d6747883739a21cf90c139d1e54.tar.bz2
server-mode: Call ResetErrorOccured before configure
Closes: #16506
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r--Source/cmServerProtocol.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index e159c8f..7815491 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -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.");
}