From 2b04f9efa2c5e4942338826d244bc8831b0bc5f7 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 14 Sep 2017 23:35:57 +0800 Subject: fix install required package option --- xmake/actions/require/install.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1