diff options
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 1 |
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) |