mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
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:
1 parent
55d6aa36a5
commit
6e6e0c4048
1 file changed
+1
@@ -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")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user