diff options
Diffstat (limited to 'xmake/scripts/base/project.lua')
| -rw-r--r-- | xmake/scripts/base/project.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index 73483ba5c..559501e00 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -55,7 +55,7 @@ function project.loadxproj(file) -- init filter local filter = function (v) if v == "buildir" then - local target = config.getarget() + local target = config.target() return utils.ifelse(target, target.output, nil); elseif v == "projectdir" then return xmake._PROJECT_DIR @@ -73,7 +73,7 @@ function project.loadxproj(file) local configs = {} -- get the config for the current target - local target = config.getarget() + local target = config.target() if target then for k, v in pairs(target) do if k and type(k) == "string" and not k:startswith("_") then |
