diff options
| author | ruki <[email protected]> | 2017-09-14 23:35:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-14 15:35:43 +0800 |
| commit | 2b04f9efa2c5e4942338826d244bc8831b0bc5f7 (patch) | |
| tree | 63fb1a3f6059ab4f1cccdcfb5985f63e0aed66a7 /xmake/actions/require/install.lua | |
| parent | d091d8b8ec4ceb7259f5f0e16eed9eeb3a6cb0ce (diff) | |
fix install required package option
Diffstat (limited to 'xmake/actions/require/install.lua')
| -rw-r--r-- | xmake/actions/require/install.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/install.lua b/xmake/actions/require/install.lua index fdf38f7c1..38dabb8ec 100644 --- a/xmake/actions/require/install.lua +++ b/xmake/actions/require/install.lua @@ -36,7 +36,7 @@ function _attach_to_option(instance, opt) -- disable this option if this package is optional and missing if _g.optional_missing[instance:fullname()] then - opt:enable(false) + opt:enable(false, {force = true}) else -- add this package info to option |
