Build: Fix asan check

This commit is contained in:
SirLynix 2023-11-12 12:13:14 +01:00
parent 949573636d
commit 2ff2cd4a9c
1 changed files with 1 additions and 1 deletions

View File

@ -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