Merge pull request #79 from starkos/remove-extra-list-sorts
Restore ordering of include file search paths
This commit is contained in:
commit
5d66d7695f
@ -902,12 +902,10 @@
|
||||
|
||||
function m.additionalIncludeDirectories(cfg, includedirs)
|
||||
if #includedirs > 0 then
|
||||
local dirs = project.getrelative(cfg.project, includedirs)
|
||||
local dirs = vstudio.path(cfg.project, includedirs)
|
||||
dirs = table.filterempty(dirs)
|
||||
|
||||
if #dirs > 0 then
|
||||
table.sort(dirs)
|
||||
p.x('<AdditionalIncludeDirectories>%s;%%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>', path.translate(table.concat(dirs, ";")))
|
||||
p.x('<AdditionalIncludeDirectories>%s;%%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>', table.concat(dirs, ";"))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user