Browse Source

Support manual cache entries

Ben Boeckel 15 năm trước cách đây
mục cha
commit
122ebf1297
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Source/cmCacheManager.cxx

+ 2 - 1
Source/cmCacheManager.cxx

@@ -253,7 +253,8 @@ bool cmCacheManager::LoadCache(const char* path,
         }
       }
     e.SetProperty("HELPSTRING", helpString.c_str());
-    if(cmCacheManager::ParseEntry(realbuffer, entryKey, e.Value, e.Type))
+    if(cmCacheManager::ParseEntry(realbuffer, entryKey, e.Value, e.Type) ||
+      cmCacheManager::ParseEntry(realbuffer, entryKey, e.Value))
       {
       if ( excludes.find(entryKey) == excludes.end() )
         {