summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-08-03 03:24:01 +0200
committerArthur LAURENT <[email protected]>2022-08-03 03:24:01 +0200
commitd01b160c0e0f007ca0e8fc3c97ad47d3f79ace9c (patch)
tree00057d5427a945143a3e720a665904ce4a38f6f5 /xmake/rules/c++/modules
parentdcf5a1dfa3e592563093e862e0bb4ecd2ac3b3ba (diff)
[C++20 Modules] Restore removed comments
Diffstat (limited to 'xmake/rules/c++/modules')
-rw-r--r--xmake/rules/c++/modules/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 655a52d38..f4b2498d7 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -33,6 +33,8 @@ rule("c++.build.modules")
end
if target_with_modules then
+ -- we disable to build across targets in parallel, because the source files may depend on other target modules
+ -- @see https://github.com/xmake-io/xmake/issues/1858
target:set("policy", "build.across_targets_in_parallel", false)
-- import modules_support