Fixed #3351 (--includes-file is not working as expected)
This commit is contained in:
parent
69567515ce
commit
29e66783fa
|
@ -75,6 +75,11 @@ static void AddInclPathsToList(const std::string& FileList, std::list<std::strin
|
|||
if (!PathName.empty()) {
|
||||
PathName = Path::fromNativeSeparators(PathName);
|
||||
PathName = Path::removeQuotationMarks(PathName);
|
||||
|
||||
// If path doesn't end with / or \, add it
|
||||
if (PathName[PathName.length()-1] != '/')
|
||||
PathName += '/';
|
||||
|
||||
PathNames.push_back(PathName);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue