summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vstudio/impl/vs201x_solution.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-18 00:42:31 +0800
committerruki <[email protected]>2023-01-18 00:42:31 +0800
commit414e38a8d66df9dfff6ecf70a89b7b691808d6d9 (patch)
tree2329013606be30dd7a3100c230de1e053ad183c5 /xmake/plugins/project/vstudio/impl/vs201x_solution.lua
parent6815fef186d11ce80fd569a72355bc9b222e35af (diff)
improve group
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs201x_solution.lua')
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x_solution.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua
index 599d2b38d..f482c1abd 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua
@@ -62,7 +62,7 @@ function _make_projects(slnfile, vsinfo)
end
slnfile:leave("EndProject")
local group_path = target:get("group")
- if group_path then
+ if group_path and #(group_path:trim()) > 0 then
for _, group_name in ipairs(path.split(group_path)) do
groups[group_name] = hash.uuid4("group." .. group_name)
end