From 9d02cca1a810eb156dd135be3803a5290aee24d2 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Wed, 23 Mar 2022 10:58:32 +0100 Subject: [PATCH] Demote error for unknown sanitizers to warning --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9856596..84f144e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,8 @@ endif (SHARED) if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") add_link_options(-fuse-ld=lld) + # Only warn for unknown sanitizers. This error is not major enough to error on. + add_compile_options(-Wno-error=unknown-sanitizers) endif () if (CMAKE_BUILD_TYPE MATCHES Release)