Fix: the generator choice value was hardcoded and overrode the value passed as a command-line param (desktop shortcuts)

This commit is contained in:
Sebastien Barre 2001-12-21 18:25:03 -05:00
parent 183bd9f9b3
commit 3d24bc75bd
1 changed files with 4 additions and 1 deletions

View File

@ -206,7 +206,10 @@ BOOL CMakeSetupDialog::OnInitDialog()
{
m_GeneratorChoice.AddString(i->c_str());
}
m_GeneratorChoiceString = "Visual Studio 6";
if (m_GeneratorChoiceString == _T(""))
{
m_GeneratorChoiceString = "Visual Studio 6";
}
// try to load the cmake cache from disk
this->LoadCacheFromDiskToGUI();