summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-17 10:28:22 +0800
committerruki <[email protected]>2015-05-17 10:28:22 +0800
commit7be8238f634969e80e678f59ab418900f846b094 (patch)
tree75c956fde24193c7d6e21a7406de5cc8518d9ab8 /xmake/scripts/base/project.lua
parentb7344cd33b93ba1a1aa96eea057adf4b71f7139a (diff)
add some os interfaces
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