summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-01-11 15:38:52 +0100
committerArthur LAURENT <[email protected]>2023-01-11 16:46:04 +0100
commita70a59a68f39d9c9ba3538baa94dcce6132f1241 (patch)
tree4de994fed1977ca48369f4f5b18fe2ae00f414df /xmake/rules/c++/modules
parent429ff39f5874e63741aecbe3dfdc15d790e0fb44 (diff)
cleanup
Diffstat (limited to 'xmake/rules/c++/modules')
-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 19f6968c6..74b2f62cc 100644
--- a/xmake/rules/c++/modules/modules_support/clang.lua
+++ b/xmake/rules/c++/modules/modules_support/clang.lua
@@ -298,7 +298,7 @@ function generate_dependencies(target, sourcebatch, opt)
end
end
- assert(not (has_std_modules and target:values("c++.clang.modules.strict")),
+ assert(not (has_std_modules and not target:values("c++.clang.modules.stdmodules")),
[[On llvm <= 16 standard C++ modules are not supported ;
they can be emulated through clang modules and supported only on libc++ ;
please add -stdlib=libc++ cxx flag or disable strict mode]])