summaryrefslogtreecommitdiffstats
path: root/Source/cmakewizard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmakewizard.cxx')
-rw-r--r--Source/cmakewizard.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx
index c222f0b..8230aed 100644
--- a/Source/cmakewizard.cxx
+++ b/Source/cmakewizard.cxx
@@ -45,6 +45,13 @@ void cmakewizard::AskUser(const char* key, cmCacheManager::CacheEntry & entry)
{
cmSystemTools::ConvertToUnixSlashes(entry->m_Value);
}
+ if(entry->m_Type == cmCacheManager::BOOL)
+ {
+ if(!cmSystemTools::IsOn(buffer))
+ {
+ entry->m_Value = "OFF";
+ }
+ }
}
else
{