diff options
| author | ruki <[email protected]> | 2024-03-14 23:53:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-14 23:53:23 +0800 |
| commit | 80af97d2fb131d6c8a4eaff114035ecc578499e5 (patch) | |
| tree | ec82d1830086232ccc251720585701d675b320d9 /xmake/rules/c++/xmake.lua | |
| parent | b8d9e2924de37c04861b9e92ba841e4fe0878c69 (diff) | |
fix set exceptions
Diffstat (limited to 'xmake/rules/c++/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/xmake.lua b/xmake/rules/c++/xmake.lua index dedb63ed5..49e1963a9 100644 --- a/xmake/rules/c++/xmake.lua +++ b/xmake/rules/c++/xmake.lua @@ -37,7 +37,7 @@ rule("c++.build") on_config(function (target) -- we enable c++ exceptions by default if target:is_plat("windows") and not target:get("exceptions") then - target:set("exception", "cxx") + target:set("exceptions", "cxx") end -- https://github.com/xmake-io/xmake/issues/4621 if target:is_plat("windows") and target:is_static() and target:has_tool("cxx", "tcc") then |
