ENH: Patch from Alexander Neundorf to remove "KDevelop3" from list of generators. "KDevelop3 - Unix Makefiles" should be used instead.
This commit is contained in:
parent
37805ff81c
commit
e50903248f
|
@ -67,6 +67,15 @@ QCMake::QCMake(QObject* p)
|
||||||
std::vector<std::string>::iterator iter;
|
std::vector<std::string>::iterator iter;
|
||||||
for(iter = generators.begin(); iter != generators.end(); ++iter)
|
for(iter = generators.begin(); iter != generators.end(); ++iter)
|
||||||
{
|
{
|
||||||
|
// Skip the generator "KDevelop3", since there is also
|
||||||
|
// "KDevelop3 - Unix Makefiles", which is the full and official name.
|
||||||
|
// The short name is actually only still there since this was the name
|
||||||
|
// in CMake 2.4, to keep "command line argument compatibility", but
|
||||||
|
// this is not necessary in the GUI.
|
||||||
|
if (*iter == "KDevelop3")
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
this->AvailableGenerators.append(iter->c_str());
|
this->AvailableGenerators.append(iter->c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue