summaryrefslogtreecommitdiff
path: root/xmake/plugins/project
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/project')
-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 bd86cbc7c..82ede489a 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua
@@ -43,7 +43,7 @@ function _make_projects(slnfile, vsinfo)
table.insert(targets, 1, target)
elseif target:is_binary() then
local first_target = targets[1]
- if not first_target or not first_target:is_default() then
+ if not first_target or first_target:get("default") ~= true then
table.insert(targets, 1, target)
else
table.insert(targets, target)