summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-11-22 20:17:51 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-11-22 20:17:51 (GMT)
commit122ebf12976ce370d78aa14594baf39f30b5c9ee (patch)
tree304e53a9e8505d3fb948b352417ef46ab4acbf22 /Source/cmCacheManager.cxx
parent90abc3a027ba68e3866e7cd0e2f8eebd528b6ccb (diff)
downloadCMake-122ebf12976ce370d78aa14594baf39f30b5c9ee.zip
CMake-122ebf12976ce370d78aa14594baf39f30b5c9ee.tar.gz
CMake-122ebf12976ce370d78aa14594baf39f30b5c9ee.tar.bz2
Support manual cache entries
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index fe6467a..eabdf87 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() )
{