diff options
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 2 |
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 |
