diff options
| author | ruki <[email protected]> | 2023-01-12 07:56:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-12 07:56:46 +0800 |
| commit | 9793894c1d2e055a4cfe044002bea4c7e6bb075d (patch) | |
| tree | c2838042715e01175fe9738aa0edfd3cb0429006 /xmake/rules/c++/modules/modules_support/clang.lua | |
| parent | 8a582f9a9fb7be2cfbfdd2f18f31510547dff12b (diff) | |
Update clang.lua
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/clang.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 2 |
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 30b27bc2a..4d1f07747 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 not target:policy("c++.clang.modules.stdmodules")), + assert(not (has_std_modules and not target:policy("build.c++.clang.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]]) |
