Skip to content

Commit b86ffc6

Browse files
committed
fix: warning
1 parent 7f0e756 commit b86ffc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xmake-rules.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ rule("commonlibsf.plugin")
201201

202202
depend.on_changed(function()
203203
local srcfiles, dstfiles = target:installfiles()
204-
if srcfiles and #srcfiles > 0 and dstfiles and #dstfiles > 0 then
205-
task.run("install")
204+
if srcfiles and #srcfiles > 0 and dstfiles and #dstfiles > 0 then
205+
task.run("install", { target = target:name() })
206206
end
207207
end, { changed = target:is_rebuilt(), files = { target:targetfile() } })
208208
end)

0 commit comments

Comments
 (0)