Demote error for unknown sanitizers to warning
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2022-03-23 10:58:32 +01:00
parent afd51a7924
commit 9d02cca1a8
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 0 deletions

View File

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