diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b4aa08..76307e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ set(ALLOWED_kcfisan 0) if(NOT WIN32 AND (BUILD_ASAN OR BUILD_SAN)) set(ALLOWED_asan 1) endif() -if(IS_CC_CLANG AND NOT ANDROID (BUILD_MSAN OR BUILD_SAN)) +if(IS_CC_CLANG AND NOT ANDROID AND (BUILD_MSAN OR BUILD_SAN)) set(ALLOWED_msan 1) endif() if(NOT ANDROID AND NOT WIN32 AND (BUILD_TSAN OR BUILD_SAN))