summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index a2623f226..57a7d9289 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -490,7 +490,7 @@ function main(outputdir, vsinfo)
dir_id = hash.uuid4(dir)
}
end
- dir = path.directory(dir)
+ dir = path.directory(dir) or "."
end
end
target._dirs = dirs