diff options
| author | Arthur LAURENT <[email protected]> | 2022-12-26 18:12:57 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-12-26 18:12:57 +0100 |
| commit | a69cedf8c9d8d2abbe5ef181a582767b52517240 (patch) | |
| tree | 689bf8433f4c7312cf190eef920d83481b04ce19 /xmake/rules/c++/modules/modules_support/msvc.lua | |
| parent | 8ad48983f57b7a86339fa5737f8460414a026ddb (diff) | |
fix compilation
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua index 1a97e3de5..5131615a6 100644 --- a/xmake/rules/c++/modules/modules_support/msvc.lua +++ b/xmake/rules/c++/modules/modules_support/msvc.lua @@ -501,7 +501,9 @@ function build_modules_for_batchjobs(target, batchjobs, objectfiles, modules, op if provide or common.has_module_extension(cppfile) then if not common.memcache():get2(name or cppfile, "compiling") then + if name and name:match("std") then common.memcache():set2(name or cppfile, "compiling", true) + end _build_modulefile(target, cppfile, { objectfile = objectfile, dependfile = dependfile, |
