Commit e365c337 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: fix dumb MS warning about BOOL and performance with more code

parent f15026cf
......@@ -675,7 +675,14 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles)
m_CMakeInstance->CreateGlobalGenerator(m_GeneratorDialog.m_GeneratorChoiceString));
m_CMakeInstance->SetCMakeCommand(m_PathToExecutable);
m_CMakeInstance->LoadCache();
m_CMakeInstance->SetSuppressDevWarnings(m_SuppressDevValue);
if(m_SuppressDevValue)
{
m_CMakeInstance->SetSuppressDevWarnings(true);
}
else
{
m_CMakeInstance->SetSuppressDevWarnings(false);
}
if(m_CMakeInstance->Configure() != 0)
{
cmSystemTools::Error(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment