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:
André Klitzing 2014-09-26 14:38:54 +02:00 committed by Brad King
parent 55d6aa36a5
commit 6e6e0c4048
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ void cmExtraEclipseCDT4Generator
if (*lit == "CXX")
{
this->Natures.insert("org.eclipse.cdt.core.ccnature");
this->Natures.insert("org.eclipse.cdt.core.cnature");
}
else if (*lit == "C")
{