summaryrefslogtreecommitdiff
path: root/xmake/core/base/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-01-21 23:01:42 +0800
committerruki <[email protected]>2016-02-15 19:10:25 +0800
commit7aac238641926dfc0386e8be78958a63e0866c19 (patch)
tree5a63d9f79afec32692682837fe47060187e10281 /xmake/core/base/project.lua
parent0384d6aee3e0a5c1f86c8d60638d8228acb53601 (diff)
fix interpreter and project bug
Diffstat (limited to 'xmake/core/base/project.lua')
-rw-r--r--xmake/core/base/project.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/project.lua b/xmake/core/base/project.lua
index b07d11631..d0d9cb4c8 100644
--- a/xmake/core/base/project.lua
+++ b/xmake/core/base/project.lua
@@ -1030,7 +1030,7 @@ function project.menu()
-- the default value
local default = "auto"
if opt.enable ~= nil then
- default = utils.unwrap(opt.enable)
+ default = opt.enable
end
-- is first?
@@ -1045,7 +1045,7 @@ function project.menu()
-- append it
if opt.description then
- table.insert(menu, {nil, name, "kv", default, utils.unwrap(opt.description)})
+ table.insert(menu, {nil, name, "kv", default, opt.description})
else
table.insert(menu, {nil, name, "kv", default, nil})
end