summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/require/install.lua2
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