cmake-gui: Fix "extra" generator entries in drop-down list

Refactoring in commit v3.7.0-rc1~291^2~1 (Refactor extra generator
registration to use factories, 2016-07-20) accidentally switched
the order of the "extra - base" generator names to "base - extra".
Switch it back.  While this could affect all callers of the
`GetRegisteredGenerators` method, only cmake-gui actually used this
particular field.

Closes: #16359
This commit is contained in:
Brad King 2016-10-11 08:35:11 -04:00
parent b99bbfe88d
commit bf86012ada
1 changed files with 1 additions and 1 deletions

View File

@ -929,7 +929,7 @@ void cmake::GetRegisteredGenerators(
gen != genList.end(); ++gen) { gen != genList.end(); ++gen) {
GeneratorInfo info; GeneratorInfo info;
info.name = cmExternalMakefileProjectGenerator::CreateFullGeneratorName( info.name = cmExternalMakefileProjectGenerator::CreateFullGeneratorName(
(*i)->GetName(), *gen); *gen, (*i)->GetName());
info.baseName = *gen; info.baseName = *gen;
info.extraName = (*i)->GetName(); info.extraName = (*i)->GetName();
info.supportsPlatform = false; info.supportsPlatform = false;