summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorShane Parris <shane.lee.parris@gmail.com>2018-08-09 16:51:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-09 17:03:50 (GMT)
commit6f3b9e8b9506b4631b70cf506152defa8f9e54e0 (patch)
treea9ee0c547f24164c2958a4b34dab13082a8e6658 /Source/cmState.cxx
parentc4ab098097f4fe1bc85ee29c6de390dff435f63f (diff)
downloadCMake-6f3b9e8b9506b4631b70cf506152defa8f9e54e0.zip
CMake-6f3b9e8b9506b4631b70cf506152defa8f9e54e0.tar.gz
CMake-6f3b9e8b9506b4631b70cf506152defa8f9e54e0.tar.bz2
cmState: Clear GlobVerificationManager state on Reset
It should not persist across multiple configure rounds. Fixes: #18208
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index a57be4d..b2f6091 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -267,6 +267,7 @@ cmStateSnapshot cmState::Reset()
{
this->GlobalProperties.clear();
this->PropertyDefinitions.clear();
+ this->GlobVerificationManager->Reset();
cmStateDetail::PositionType pos = this->SnapshotData.Truncate();
this->ExecutionListFiles.Truncate();