summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/msvc.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-12-26 18:12:57 +0100
committerArthur LAURENT <[email protected]>2022-12-26 18:12:57 +0100
commita69cedf8c9d8d2abbe5ef181a582767b52517240 (patch)
tree689bf8433f4c7312cf190eef920d83481b04ce19 /xmake/rules/c++/modules/modules_support/msvc.lua
parent8ad48983f57b7a86339fa5737f8460414a026ddb (diff)
fix compilation
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc.lua2
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,