summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/builder.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-05-07 15:55:36 +0200
committerArthur LAURENT <[email protected]>2025-05-09 15:56:33 +0200
commit1a62ccd782933d604959299f2cd25cbcb38222a9 (patch)
tree468f865ebe0b78f970ffd4912f06cc25bc07a0d9 /xmake/rules/c++/modules/builder.lua
parente2e42429e8a580590c5406ccdfc3cbcb0deeff11 (diff)
(C++ modules support) fix is_dependencies_changed
fixes https://github.com/xmake-io/xmake/issues/6383
Diffstat (limited to 'xmake/rules/c++/modules/builder.lua')
-rw-r--r--xmake/rules/c++/modules/builder.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/builder.lua b/xmake/rules/c++/modules/builder.lua
index a48258b75..9a5a4b37e 100644
--- a/xmake/rules/c++/modules/builder.lua
+++ b/xmake/rules/c++/modules/builder.lua
@@ -581,11 +581,11 @@ function is_dependencies_changed(target, module)
local changed = false
if oldrequires then
if oldrequires ~= requires then
- requires_changed = true
+ changed = true
else
for required in requires:items() do
if not oldrequires:has(required) then
- requires_changed = true
+ changed = true
break
end
end