summaryrefslogtreecommitdiff
path: root/xmake/rules/protobuf/module_parser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/protobuf/module_parser.lua')
-rw-r--r--xmake/rules/protobuf/module_parser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/protobuf/module_parser.lua b/xmake/rules/protobuf/module_parser.lua
index 163d36df2..80314c50a 100644
--- a/xmake/rules/protobuf/module_parser.lua
+++ b/xmake/rules/protobuf/module_parser.lua
@@ -70,7 +70,7 @@ function _generate_moduledeps(target, sourcefile, opt)
return dependinfo
end
- end, {dependfile = dependfile, files = {sourcefile}})
+ end, {dependfile = dependfile, files = {sourcefile}, changed = target:is_rebuilt()})
end
-- build batch jobs with deps