Merge pull request #11 from Placinta/master

Fix option type in add_sanitizers check
This commit is contained in:
Matt Arsenault 2017-03-06 09:29:14 -08:00 committed by GitHub
commit f09151bc87

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