diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 491a2987b..d6d56d0d6 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -335,7 +335,7 @@ bool cmake::SetCacheArgs(const std::vector& args) for ( it.Begin(); !it.IsAtEnd(); it.Next() ) { cmCacheManager::CacheEntryType t = it.GetType(); - if(t != cmCacheManager::STATIC && t != cmCacheManager::UNINITIALIZED) + if(t != cmCacheManager::STATIC) { std::string entryName = it.GetName(); if (regex.find(entryName.c_str()))