Fix option type in add_sanitizers check

This commit is contained in:
Alexandru Croitor 2017-02-23 15:34:51 +01:00
parent 295c360967
commit 89c899140f

View File

@ -54,7 +54,7 @@ endfunction()
function(add_sanitizers ...) function(add_sanitizers ...)
# If no sanitizer is enabled, return immediately. # If no sanitizer is enabled, return immediately.
if (NOT (SANITZE_ADDRESS OR SANITIZE_MEMORY OR SANITIZE_THREAD OR if (NOT (SANITIZE_ADDRESS OR SANITIZE_MEMORY OR SANITIZE_THREAD OR
SANITIZE_UNDEFINED)) SANITIZE_UNDEFINED))
return() return()
endif () endif ()