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 @@ -448,18 +448,13 @@ func (f *CppIncludesFinder) findIncludesUntilDone(sourceFile *SourceFile) error
448448 // include path and queue its source files for further
449449 // include scanning
450450 f .ctx .ImportedLibraries = append (f .ctx .ImportedLibraries , library )
451-
452- f .log .Debugf ("Using library include folder: %s" , library .SourceDir )
453- f .IncludeDirsFound .Add (library .SourceDir )
454451 f .cache .AddAndCheckEntry (sourcePath , include , library .SourceDir )
455452
456- if library .UtilityDir != nil {
457- // TODO: Use library.SourceDirs() instead?
458- f .IncludeDirsFound .Add (library .UtilityDir )
459- }
460453 sourceDirs := library .SourceDirs ()
461454 buildDir := f .ctx .LibrariesBuildPath .Join (library .Name )
462455 for _ , sourceDir := range sourceDirs {
456+ f .log .Debugf ("Using library include folder: %s" , sourceDir .Dir )
457+ f .IncludeDirsFound .Add (sourceDir .Dir )
463458 if library .Precompiled && library .PrecompiledWithSources {
464459 // Fully precompiled libraries should have no dependencies
465460 // to avoid ABI breakage
You can’t perform that action at this time.
0 commit comments