diff options
| author | ruki <[email protected]> | 2026-08-13 13:14:56 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-13 13:14:56 +0800 |
| commit | 8bf5187281f1dcd3ea2f1cc41b1db5e9cf2cbc07 (patch) | |
| tree | 4842257a6dec84ad6ea0cb5c9619e345ad3afd5b /xmake/modules/core/project/depend.lua | |
| parent | cd41cf60b38492309b32ac7b1238ef8669a8e3de (diff) | |
| parent | 9de9c5f84075b54ed7bc82ac7928497c0fbafb91 (diff) | |
Merge pull request #7701 from jnhu76/fix/depend-nested-values-invalidation
fix(depend): detect appended nested values
Diffstat (limited to 'xmake/modules/core/project/depend.lua')
| -rw-r--r-- | xmake/modules/core/project/depend.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua index 511e6fde6..40d6ba757 100644 --- a/xmake/modules/core/project/depend.lua +++ b/xmake/modules/core/project/depend.lua @@ -167,6 +167,9 @@ function is_changed(dependinfo, opt) end return true elseif deptype == "table" then + if #depvalue ~= #optvalue then + return true + end for subidx, subvalue in ipairs(depvalue) do if subvalue ~= optvalue[subidx] then if _is_show_diagnosis_info() then |
