mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
check bool values and prefere off
This commit is contained in:
parent
96db798627
commit
d14a2314e5
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user