Переглянути джерело

ENH: also remove uninitialized from the cache

Alex
Alexander Neundorf 18 роки тому
батько
коміт
18cc1228bb
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Source/cmake.cxx

+ 1 - 1
Source/cmake.cxx

@@ -335,7 +335,7 @@ bool cmake::SetCacheArgs(const std::vector<std::string>& 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()))