diff options
author | Brad King <brad.king@kitware.com> | 2016-10-11 12:35:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-11 12:39:44 (GMT) |
commit | bf86012ada901386dbf5545fdc820e81f3e6bf92 (patch) | |
tree | 48f0b80c24bfcb4fcbe246022a7b18b9b00974ef /Source/cmake.cxx | |
parent | b99bbfe88d1bb02dc903507f3e1bbe716ac04c12 (diff) | |
download | CMake-bf86012ada901386dbf5545fdc820e81f3e6bf92.zip CMake-bf86012ada901386dbf5545fdc820e81f3e6bf92.tar.gz CMake-bf86012ada901386dbf5545fdc820e81f3e6bf92.tar.bz2 |
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
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 14124f8..c8cf465 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -929,7 +929,7 @@ void cmake::GetRegisteredGenerators( gen != genList.end(); ++gen) { GeneratorInfo info; info.name = cmExternalMakefileProjectGenerator::CreateFullGeneratorName( - (*i)->GetName(), *gen); + *gen, (*i)->GetName()); info.baseName = *gen; info.extraName = (*i)->GetName(); info.supportsPlatform = false; |