From 2ff2cd4a9c838127fcd64b46febd88d4d65893c8 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Sun, 12 Nov 2023 12:13:14 +0100 Subject: [PATCH] Build: Fix asan check --- tests/UnitTests/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UnitTests/xmake.lua b/tests/UnitTests/xmake.lua index a60b66b41..85aeed8be 100644 --- a/tests/UnitTests/xmake.lua +++ b/tests/UnitTests/xmake.lua @@ -1,6 +1,6 @@ add_requires("catch2 >=3.x") -if is_mode("asan") then +if has_config("asan") then add_defines("CATCH_CONFIG_NO_WINDOWS_SEH") add_defines("CATCH_CONFIG_NO_POSIX_SIGNALS") end