forked from qt-creator/qt-creator
Adds the source top level directory explicitly to the include paths.
It wasn't listed in the cbp file, so add it since cmake does that too.
This commit is contained in:
@@ -190,6 +190,9 @@ void CMakeProject::parseCMakeLists()
|
||||
else
|
||||
allIncludePaths.append(headerPath.path());
|
||||
}
|
||||
// This explicitly adds -I. to the include paths
|
||||
allIncludePaths.append(sourceDirectory);
|
||||
|
||||
allIncludePaths.append(cbpparser.includeFiles());
|
||||
CppTools::CppModelManagerInterface *modelmanager = ExtensionSystem::PluginManager::instance()->getObject<CppTools::CppModelManagerInterface>();
|
||||
if (modelmanager) {
|
||||
|
||||
Reference in New Issue
Block a user