Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)
Since commit v3.0.0-rc1~335^2~1 (eclipse: Add natures for Eclipse based on enabled languages, 2013-08-29) CXX projects got only "ccnature", but Eclipse itself also adds "cnature" when creating C++ projects. Fix this by adding both for CXX projects.
This commit is contained in:
parent
55d6aa36a5
commit
6e6e0c4048
@ -62,6 +62,7 @@ void cmExtraEclipseCDT4Generator
|
|||||||
if (*lit == "CXX")
|
if (*lit == "CXX")
|
||||||
{
|
{
|
||||||
this->Natures.insert("org.eclipse.cdt.core.ccnature");
|
this->Natures.insert("org.eclipse.cdt.core.ccnature");
|
||||||
|
this->Natures.insert("org.eclipse.cdt.core.cnature");
|
||||||
}
|
}
|
||||||
else if (*lit == "C")
|
else if (*lit == "C")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user