From 0ed86e029fe77587c8de44000f5ff1e0ca699742 Mon Sep 17 00:00:00 2001 From: chooyy Date: Thu, 30 Apr 2026 16:52:36 +0800 Subject: fix cl exception --- xmake/modules/core/tools/cl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 8928263d8..733c6b2d1 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -379,7 +379,7 @@ end function nf_exception(self, exp) local maps = { cxx = "/EHsc", - ["no-cxx"] = "/EHsc-" + ["no-cxx"] = "/EHs-c-" } return maps[exp] end -- cgit v1.3.1