diff options
| author | ruki <[email protected]> | 2026-08-15 10:38:51 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-15 10:38:51 +0800 |
| commit | e4314dc3b2f483ef97b397ed5cf11fcdd397c9a0 (patch) | |
| tree | a28db860b0f7af1a5a66bf2ed29c87126a29324a /xmake/modules/private/action/require/impl/package.lua | |
| parent | 6c246c12a09524780e5bfdc53bc27a892e4793a9 (diff) | |
| parent | 045ce8a7a62e38357af0fd250675f279f14beafe (diff) | |
Merge pull request #7702 from xmake-io/preload
Auto fetch addons
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 65d5f4153..1105384c8 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -1702,6 +1702,9 @@ function get_configs_str(package) end if requireinfo.kind then table.insert(configs, requireinfo.kind) + elseif package:is_addon() then + -- @note the kind is only set for the dependencies, e.g. add_deps("foo", {kind = "addon"}) + table.insert(configs, "addon") end local ignored_configs_for_buildhash = hashset.from(requireinfo.ignored_configs_for_buildhash or {}) local configs_overrided = requireinfo.configs_overrided or {} |
