diff options
| -rw-r--r-- | xmake/actions/config/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 049f0f0a6..4cafb68ba 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -240,7 +240,7 @@ function main() -- merge the project options after default options for name, value in pairs(project.get("config")) do value = table.unwrap(value) - assert(type(value) == "string", "set_config(%s): too much values", name) + assert(type(value) == "string" or type(value) == "boolean" or type(value) == "number", "set_config(%s): unsupported value type(%s)", name, type(value)) if not config.readonly(name) then config.set(name, value) end |
