diff options
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index f03e0f2719..92096680a6 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -533,7 +533,7 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager() 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", |