From d5c497d8bcd7c4316157daf804b626cd17b8f8a3 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 8 Aug 2001 14:25:08 -0400 Subject: ENH: update to new style of cache access --- Source/FLTKDialog/CMakeSetupGUIImplementation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx index 170a37d..6b47c2c 100644 --- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx +++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx @@ -428,7 +428,7 @@ CMakeSetupGUIImplementation switch(value.m_Type ) { case cmCacheManager::BOOL: - if(cmCacheManager::GetInstance()->IsOn(key)) + if(cmSystemTools::IsOn(value.m_Value.c_str())) { m_CacheEntriesList.AddProperty(key, "ON", -- cgit v0.12