diff options
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs201x_solution.lua')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_solution.lua | 2 |
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 fdd948561..8b018a5d4 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua @@ -50,7 +50,7 @@ function _make_projects(slnfile, vsinfo) -- @see https://github.com/xmake-io/xmake/issues/1249 if target:get("default") == true then table.insert(targets, 1, target) - elseif target:kind() == "binary" then + elseif target:is_binary() then local first_target = targets[1] if not first_target or first_target:get("default") ~= true then table.insert(targets, 1, target) |
