summaryrefslogtreecommitdiff
path: root/xmake/core/action/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/action/run.lua')
-rw-r--r--xmake/core/action/run.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/action/run.lua b/xmake/core/action/run.lua
index f9c6aa061..df0db276a 100644
--- a/xmake/core/action/run.lua
+++ b/xmake/core/action/run.lua
@@ -27,6 +27,7 @@ local action_run = action_run or {}
local rule = require("base/rule")
local path = require("base/path")
local utils = require("base/utils")
+local option = require("base/option")
local config = require("base/config")
local project = require("base/project")
local sandbox = require("base/sandbox")
@@ -49,7 +50,7 @@ end
function action_run.done()
-- the options
- local options = xmake._OPTIONS
+ local options = option.options()
assert(options and xmake._PROJECT_DIR)
-- the target name