From 795ce902346d0ee49b0edadc88613119079c31c8 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Thu, 25 Jan 2024 10:15:43 +0100 Subject: [PATCH] Build: Set C++ exceptions flags instead of leaving the compiler defaults --- xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake.lua b/xmake.lua index 8ba0eb26f..2e871a3af 100644 --- a/xmake.lua +++ b/xmake.lua @@ -390,6 +390,7 @@ add_includedirs("include") add_sysincludedirs("thirdparty/include") set_encodings("utf-8") +set_exceptions("cxx") set_languages("c89", "c++20") set_rundir("./bin/$(plat)_$(arch)_$(mode)") set_targetdir("./bin/$(plat)_$(arch)_$(mode)")