diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmakewizard.cxx | 7 |
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 { |