summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 12:26:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 13:36:58 (GMT)
commit435a2f3ccb51acf119cfa1671f1c5b344a7d47a0 (patch)
tree1ed8f4254834e76abddd8e52d5f0aaa0c5e2a186 /Source/cmState.cxx
parent062ed22ec43809068526706d2600297095412911 (diff)
downloadCMake-435a2f3ccb51acf119cfa1671f1c5b344a7d47a0.zip
CMake-435a2f3ccb51acf119cfa1671f1c5b344a7d47a0.tar.gz
CMake-435a2f3ccb51acf119cfa1671f1c5b344a7d47a0.tar.bz2
cmCacheManager: Port away from cmake instance.
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 9628265..a42d075 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -252,6 +252,7 @@ void cmState::AddCacheEntry(const std::string& key, const char* value,
{
this->CMakeInstance->GetCacheManager()->AddCacheEntry(key, value,
helpString, type);
+ this->CMakeInstance->UnwatchUnusedCli(key);
}
void cmState::RemoveCacheEntry(std::string const& key)