diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp index 28ccae1695869b670dadcccfbd27d7474dc838a9..e7114fc63dce68d1dd6505b7ab2e3277979d53b1 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp @@ -84,6 +84,7 @@ void CMakeProject::parseCMakeLists() QString sourceDirectory = QFileInfo(m_fileName).absolutePath(); QString cbpFile = CMakeManager::findCbpFile(buildDirectory(activeBuildConfiguration())); + m_rootNode->setFolderName(QFileInfo(cbpFile).baseName()); CMakeCbpParser cbpparser; qDebug()<<"Parsing file "<<cbpFile; if (cbpparser.parseCbpFile(cbpFile)) {