From 58420f3dded9da7058b0103b65010bddd56b7178 Mon Sep 17 00:00:00 2001 From: gitlost Date: Mon, 12 Jul 2021 17:06:49 +0100 Subject: [PATCH] CMakeLists.txt: re-enable ZINT_SANITIZE for MSVC, though warning issues + works? --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef3465be..c00de9ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ if(ZINT_TEST) endif() set(SANITIZER_FLAGS "") -if(ZINT_SANITIZE AND NOT MSVC) +if(ZINT_SANITIZE) file(WRITE ${CMAKE_BINARY_DIR}/dummy.c "int main() { return 0; }") set(SANITIZERS address leak undefined) #address hwaddress leak memory thread undefined foreach(sanitizer IN ITEMS ${SANITIZERS})