summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/project.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/base/project.lua')
-rw-r--r--xmake/scripts/base/project.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua
index 1a25b9bda..73483ba5c 100644
--- a/xmake/scripts/base/project.lua
+++ b/xmake/scripts/base/project.lua
@@ -58,7 +58,7 @@ function project.loadxproj(file)
local target = config.getarget()
return utils.ifelse(target, target.output, nil);
elseif v == "projectdir" then
- return xmake._OPTIONS.project
+ return xmake._PROJECT_DIR
end
return v
end