summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 12:31:06 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 13:36:58 (GMT)
commit95b0d761a75fd2da041eacc9ee22b89043ae301f (patch)
tree13a3a1b7966a6b1fa7f1483c9a61c49c2bb95a11 /Source/cmake.cxx
parent6f02034e668a307587c2eb1aa0e342fd17ca103e (diff)
downloadCMake-95b0d761a75fd2da041eacc9ee22b89043ae301f.zip
CMake-95b0d761a75fd2da041eacc9ee22b89043ae301f.tar.gz
CMake-95b0d761a75fd2da041eacc9ee22b89043ae301f.tar.bz2
cmState: Externalize logic to caller.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 69a3f03..b90ac69 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1644,6 +1644,7 @@ void cmake::AddCacheEntry(const std::string& key, const char* value,
this->State->AddCacheEntry(key, value,
helpString,
cmState::CacheEntryType(type));
+ this->UnwatchUnusedCli(key);
}
const char* cmake::GetCacheDefinition(const std::string& name) const