File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -438,18 +438,13 @@ func (f *CppIncludesFinder) findIncludesUntilDone(sourceFile *SourceFile) error
438438 // include path and queue its source files for further
439439 // include scanning
440440 f .ctx .ImportedLibraries = append (f .ctx .ImportedLibraries , library )
441-
442- f .log .Debugf ("Using library include folder: %s" , library .SourceDir )
443- f .IncludeDirsFound .Add (library .SourceDir )
444441 f .cache .AddAndCheckEntry (sourcePath , include , library .SourceDir )
445442
446- if library .UtilityDir != nil {
447- // TODO: Use library.SourceDirs() instead?
448- f .IncludeDirsFound .Add (library .UtilityDir )
449- }
450443 sourceDirs := library .SourceDirs ()
451444 buildDir := f .ctx .LibrariesBuildPath .Join (library .Name )
452445 for _ , sourceDir := range sourceDirs {
446+ f .log .Debugf ("Using library include folder: %s" , sourceDir .Dir )
447+ f .IncludeDirsFound .Add (sourceDir .Dir )
453448 f .AddSourceDir (buildDir , sourceDir .Dir , sourceDir .Recurse )
454449 }
455450 first = false
You can’t perform that action at this time.
0 commit comments