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)