diff options
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 |
