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 @@ -439,18 +439,13 @@ func (f *CppIncludesFinder) findIncludesUntilDone(sourceFile *SourceFile) error
439439 // include path and queue its source files for further
440440 // include scanning
441441 f .ctx .ImportedLibraries = append (f .ctx .ImportedLibraries , library )
442-
443- f .log .Debugf ("Using library include folder: %s" , library .SourceDir )
444- f .IncludeDirsFound .Add (library .SourceDir )
445442 f .cache .AddAndCheckEntry (sourcePath , include , library .SourceDir )
446443
447- if library .UtilityDir != nil {
448- // TODO: Use library.SourceDirs() instead?
449- f .IncludeDirsFound .Add (library .UtilityDir )
450- }
451444 sourceDirs := library .SourceDirs ()
452445 buildDir := f .ctx .LibrariesBuildPath .Join (library .Name )
453446 for _ , sourceDir := range sourceDirs {
447+ f .log .Debugf ("Using library include folder: %s" , sourceDir .Dir )
448+ f .IncludeDirsFound .Add (sourceDir .Dir )
454449 f .AddSourceDir (buildDir , sourceDir .Dir , sourceDir .Recurse )
455450 }
456451 first = false
You can’t perform that action at this time.
0 commit comments