diff --git a/src/u_dubproject.pas b/src/u_dubproject.pas index 094d2175..3295a85b 100644 --- a/src/u_dubproject.pas +++ b/src/u_dubproject.pas @@ -1678,9 +1678,9 @@ procedure TDubProject.updateImportPathsFromJson; s += w; // as auto detected by DUB if (s + 'source').dirExists then - fImportPaths.Add(s) + fImportPaths.Add(s + 'source') else if (s + 'src').dirExists then - fImportPaths.Add(s) + fImportPaths.Add(s + 'src') // when standard src content is directly in the repo root else if (s + n).dirExists or (w.length <> 0) then fImportPaths.Add(s);