summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-08-08 18:25:08 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-08-08 18:25:08 (GMT)
commitd5c497d8bcd7c4316157daf804b626cd17b8f8a3 (patch)
tree7a991dc3511cdbc94729ed10c1d955eaa5530e3e
parent333e2dbf63295cef0ca420da969402375ced1876 (diff)
downloadCMake-d5c497d8bcd7c4316157daf804b626cd17b8f8a3.zip
CMake-d5c497d8bcd7c4316157daf804b626cd17b8f8a3.tar.gz
CMake-d5c497d8bcd7c4316157daf804b626cd17b8f8a3.tar.bz2
ENH: update to new style of cache access
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.cxx2
1 files changed, 1 insertions, 1 deletions
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",