Browse Source

Support manual cache entries

Ben Boeckel 15 years ago
parent
commit
122ebf1297
1 changed files with 2 additions and 1 deletions
  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() )
         {