summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/project/project.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 8952cbdc3..5fdc43636 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -356,7 +356,7 @@ function project._load_target_deps(target, targets)
for _, dep in ipairs(table.wrap(target:get("deps"))) do
local deptarget = targets[dep]
if deptarget then
- table.join2(deptargets, project._load_target_deps(deptarget))
+ table.join2(deptargets, project._load_target_deps(deptarget, targets))
table.insert(deptargets, deptarget)
end
end