summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/install.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-06 00:37:56 +0800
committerruki <[email protected]>2022-09-06 00:37:56 +0800
commit2a8af8db1d8b6e05f2a751a3320a1c45596ac0e5 (patch)
treea65a69a8111fc8aae7e595dde2cb2154ef052287 /xmake/modules/private/action/require/install.lua
parent4d15e4f3f8eaa1d15efd4023d25838bd6b31f1fa (diff)
fix should install
Diffstat (limited to 'xmake/modules/private/action/require/install.lua')
-rw-r--r--xmake/modules/private/action/require/install.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/install.lua b/xmake/modules/private/action/require/install.lua
index c75df8a35..f6d02717e 100644
--- a/xmake/modules/private/action/require/install.lua
+++ b/xmake/modules/private/action/require/install.lua
@@ -35,7 +35,7 @@ function _check_missing_packages(packages)
local packages_missing = {}
local optional_missing = {}
for _, instance in ipairs(packages) do
- if package.should_install(instance) or (instance:is_fetchonly() and not instance:exists()) then
+ if package.should_install(instance, {check_compatibility = false}) or (instance:is_fetchonly() and not instance:exists()) then
if instance:is_optional() then
optional_missing[instance:name()] = instance
else