From 122ebf12976ce370d78aa14594baf39f30b5c9ee Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 22 Nov 2010 15:17:51 -0500 Subject: [PATCH] Support manual cache entries --- Source/cmCacheManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index fe6467a32b..eabdf87ec7 100644 --- a/Source/cmCacheManager.cxx +++ b/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() ) {