ENH: update to new style of cache access

This commit is contained in:
Ken Martin 2001-08-08 14:25:08 -04:00
parent 333e2dbf63
commit d5c497d8bc
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ CMakeSetupGUIImplementation
switch(value.m_Type ) switch(value.m_Type )
{ {
case cmCacheManager::BOOL: case cmCacheManager::BOOL:
if(cmCacheManager::GetInstance()->IsOn(key)) if(cmSystemTools::IsOn(value.m_Value.c_str()))
{ {
m_CacheEntriesList.AddProperty(key, m_CacheEntriesList.AddProperty(key,
"ON", "ON",