From 6005850115298a96852f9d3bbd925abd5130ad6d Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 22 Mar 2022 12:42:56 +0100 Subject: [PATCH] Disable SanitizerTests for Windows :( --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1acfeae..e1383a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ if (ARBUTILS_TESTS) # Add a compilation definition to the code that we are building a test build. target_compile_definitions(ArbutilsTests PRIVATE TESTS_BUILD) - if (SANITIZER_TESTS) + if (SANITIZER_TESTS AND NOT WINDOWS) target_compile_options(ArbutilsTests PRIVATE -fsanitize=address) target_link_options(ArbutilsTests PRIVATE -fsanitize=address) endif()