summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2022-06-08 08:56:18 +0200
committerGitHub <[email protected]>2022-06-08 08:56:18 +0200
commit7c16e0f2ed8303f42ae43128c16cf83640759632 (patch)
treedb2296a3f052d6590a6eb2bf96af39c3ca95dbb5
parent5877844490e23a1a71062256fdc1b1f56df54177 (diff)
Update install_packages.lua
-rw-r--r--xmake/modules/private/action/require/impl/install_packages.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua
index e2e0870f5..d5116ade5 100644
--- a/xmake/modules/private/action/require/impl/install_packages.lua
+++ b/xmake/modules/private/action/require/impl/install_packages.lua
@@ -678,7 +678,7 @@ function main(requires, opt)
end
table.insert(packages_install, instance)
elseif not instance:is_optional() then
- if not instance:exists() and not instance:repo() then
+ if not instance:exists() and instance:is_system() then
table.insert(packages_unknown, instance)
else
table.insert(packages_unsupported, instance)