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:
dt
2009-03-27 12:15:20 +01:00
parent 7f7a9ff371
commit ae1df70cfc

View File

@@ -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) {