diff options
| author | ruki <[email protected]> | 2019-03-14 22:50:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-14 11:02:51 +0800 |
| commit | fbf5ca5b9f93713dd2d7017674aebcdd31aaa2aa (patch) | |
| tree | 89f1bd9604f4f2bf58fe99b3fe67655c6d2f652f /xmake/actions/require/impl/package.lua | |
| parent | dd6aeb6af01259e38472228ecc1aa7c9fc96f7bd (diff) | |
add_configs for package
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index 6a1b0c986..b7945d5d4 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -128,7 +128,8 @@ function _parse_require(require_str, requires_extra, parentinfo) group = require_extra.group, -- only uses the first package in same group system = require_extra.system, -- default: true, we can set it to disable system package manually option = require_extra.option, -- set and attach option - config = require_extra.config, -- the build configuration of package + configs = require_extra.configs or -- the build configuration of package + require_extra.config, -- TODO deprecated default = require_extra.default, -- default: true, we can set it to disable package manually optional = parentinfo.optional or require_extra.optional -- default: false, inherit parentinfo.optional } |
