summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/build/object.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-06 22:11:00 +0800
committerruki <[email protected]>2025-04-08 15:31:58 +0800
commit6d8671865bbe9026305186c54b4ef82ebb80a4bc (patch)
treea8bcb3a568481afde09d18adeba764d3ef528dfa /xmake/modules/private/action/build/object.lua
parent43c3b8607775f7ee5b52e24a7f785b4c7a5ab292 (diff)
enable jobgraph for pch
Diffstat (limited to 'xmake/modules/private/action/build/object.lua')
-rw-r--r--xmake/modules/private/action/build/object.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua
index 0028b4b6f..a8b66aa54 100644
--- a/xmake/modules/private/action/build/object.lua
+++ b/xmake/modules/private/action/build/object.lua
@@ -174,6 +174,7 @@ function _add_jobgraph(target, jobgraph, sourcebatch, opt)
end
function main(target, jobgraph, sourcebatch, opt)
+ opt = opt or {}
if jobgraph.add_orders then
_add_jobgraph(target, jobgraph, sourcebatch, opt)
else