summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-15 00:03:05 +0800
committerruki <[email protected]>2017-09-14 18:18:30 +0800
commit83f579f95bd8bff5b43302045313cdcd1a317b76 (patch)
treebd8b7e5aa3363d17ab61816a4d159d20cab96088
parent4b9a068058c75325c95bd94ed603c49d949c5463 (diff)
fix package option bug
-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 38dabb8ec..fdf38f7c1 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, {force = true})
+ opt:enable(false)
else
-- add this package info to option