summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/config/menuconf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/menuconf.lua b/xmake/actions/config/menuconf.lua
index 8ca87d918..94ec2782e 100644
--- a/xmake/actions/config/menuconf.lua
+++ b/xmake/actions/config/menuconf.lua
@@ -323,7 +323,7 @@ function app:_project_configs(cache)
local kind = (type(default) == "string") and "string" or "boolean"
-- get description
- local description = opt:get("description")
+ local description = opt:description()
-- get source info
local sourceinfo = (opt:get("__sourceinfo_description") or {})[type(description) == "table" and description[1] or description]