diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 06e84c455..aaf863aaf 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -789,6 +789,7 @@ void cmCacheManager::AddCacheEntry(const char* key, std::vector paths; cmSystemTools::ExpandListArgument(e.Value, paths); const char* sep = ""; + e.Value = ""; for(std::vector::iterator i = paths.begin(); i != paths.end(); ++i) {