summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/run/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index 0c519473b..f688de48f 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -212,7 +212,7 @@ function main()
-- we need clear the previous config and reload it
-- to avoid trigger recheck configs
config.clear()
- task.run("build")
+ task.run("build", {target = option.get("target")})
end
-- load targets