Support manual cache entries

This commit is contained in:
Ben Boeckel 2010-11-22 15:17:51 -05:00
parent 90abc3a027
commit 122ebf1297
1 changed files with 2 additions and 1 deletions

View File

@ -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() )
{