Fixed: absolute paths in includes couldn't get resolved (irony.)
This commit is contained in:
parent
bb5bf6aabf
commit
66ce9ae1c9
@ -389,6 +389,8 @@ begin
|
|||||||
CaseSensitive := False;
|
CaseSensitive := False;
|
||||||
Duplicates := dupIgnore;
|
Duplicates := dupIgnore;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
IncludePaths.Add('');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -539,7 +541,9 @@ begin
|
|||||||
|
|
||||||
for includeIndex := 0 to Pred(IncludePaths.Count) do
|
for includeIndex := 0 to Pred(IncludePaths.Count) do
|
||||||
begin
|
begin
|
||||||
includePath := IncludeTrailingPathDelimiter(IncludePaths[includeIndex]);
|
includePath := IncludePaths[includeIndex];
|
||||||
|
if Length(includePath) > 0 then
|
||||||
|
includePath := IncludeTrailingPathDelimiter(includePath);
|
||||||
|
|
||||||
if FileExists(includePath + ALocation) then
|
if FileExists(includePath + ALocation) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user