Merge pull request #290 from Blizzard/fix-additionalusing

fix m.additionalUsingDirectories
This commit is contained in:
Tom van Dijck 2015-10-05 09:27:02 -07:00
commit 268843b57e

View File

@ -942,8 +942,10 @@
function m.additionalUsingDirectories(cfg)
if #cfg.usingdirs > 0 then
local dirs = table.concat(vstudio.path(cfg, cfg.usingdirs), ";")
m.element("AdditionalUsingDirectories", nil, "%s;%%(AdditionalUsingDirectories)", dirs)
local dirs = vstudio.path(cfg, cfg.usingdirs)
if #dirs > 0 then
m.element("AdditionalUsingDirectories", nil, "%s;%%(AdditionalUsingDirectories)", table.concat(dirs, ";"))
end
end
end