diff options
| author | ruki <[email protected]> | 2026-01-11 21:50:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-11 21:50:17 +0800 |
| commit | 936d65b6b88a4d8c931ab7c30c134f0aca718e8f (patch) | |
| tree | e3563221702a7a35934608e9401a75a52f9e81e7 /xmake/modules | |
| parent | 8a7e674cf8faacd70a968706a801151ead194abd (diff) | |
fix select package version again
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 3d46965a9..629dd4af9 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -440,6 +440,7 @@ function _select_package_version(package, requireinfo, locked_requireinfo) end) assert(#package:schemes_orderlist() > 0, "package(%s): no available schemes", package:displayname()) + local is_system = requireinfo.system if not version and not package:is_thirdparty() and is_system ~= true then local require_version = requireinfo.version raise("package(%s): version(%s) not found!", package:displayname(), require_version) |
