Fix: the generator choice value was hardcoded and overrode the value passed as a command-line param (desktop shortcuts)
This commit is contained in:
parent
183bd9f9b3
commit
3d24bc75bd
|
@ -206,7 +206,10 @@ BOOL CMakeSetupDialog::OnInitDialog()
|
||||||
{
|
{
|
||||||
m_GeneratorChoice.AddString(i->c_str());
|
m_GeneratorChoice.AddString(i->c_str());
|
||||||
}
|
}
|
||||||
|
if (m_GeneratorChoiceString == _T(""))
|
||||||
|
{
|
||||||
m_GeneratorChoiceString = "Visual Studio 6";
|
m_GeneratorChoiceString = "Visual Studio 6";
|
||||||
|
}
|
||||||
|
|
||||||
// try to load the cmake cache from disk
|
// try to load the cmake cache from disk
|
||||||
this->LoadCacheFromDiskToGUI();
|
this->LoadCacheFromDiskToGUI();
|
||||||
|
|
Loading…
Reference in New Issue