summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-01-11 14:47:19 +0100
committerArthur LAURENT <[email protected]>2023-01-11 14:48:51 +0100
commit429ff39f5874e63741aecbe3dfdc15d790e0fb44 (patch)
tree82f5b4a4844889cc7debe17ab65ee9d78e8748f0 /xmake/rules/c++/modules/modules_support
parent4649cb58b79453c8f3a6b5277125d2f8ece9c233 (diff)
rename clang std modulemap enabler and disable it by default
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/clang.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua
index 7d843c3dd..19f6968c6 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -84,7 +84,7 @@ function load(target)
target:add("cxxflags", modulestsflag)
end
- if not target:values("c++.clang.modules.strict") then
+ if target:values("c++.clang.modules.stdmodules") then
target:add("cxxflags", builtinmodulemapflag, {force = true})
target:add("cxxflags", implicitmodulesflag, {force = true})
else