File tree 1 file changed +2
-7
lines changed
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
448
448
// include path and queue its source files for further
449
449
// include scanning
450
450
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 )
454
451
f .cache .AddAndCheckEntry (sourcePath , include , library .SourceDir )
455
452
456
- if library .UtilityDir != nil {
457
- // TODO: Use library.SourceDirs() instead?
458
- f .IncludeDirsFound .Add (library .UtilityDir )
459
- }
460
453
sourceDirs := library .SourceDirs ()
461
454
buildDir := f .ctx .LibrariesBuildPath .Join (library .Name )
462
455
for _ , sourceDir := range sourceDirs {
456
+ f .log .Debugf ("Using library include folder: %s" , sourceDir .Dir )
457
+ f .IncludeDirsFound .Add (sourceDir .Dir )
463
458
if library .Precompiled && library .PrecompiledWithSources {
464
459
// Fully precompiled libraries should have no dependencies
465
460
// to avoid ABI breakage
You can’t perform that action at this time.
0 commit comments