From 068ed2816a050b92a3200972091f6245792da5a8 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 6 Aug 2016 12:16:03 +0000 Subject: [PATCH] CMake: fix typo. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b83974e..c33ee37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") set(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed ${CMAKE_EXE_LINKER_FLAGS}") endif() -if(ENABLE_SANITIZE) +if(ENABLE_SANITIZERS) if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") message(FATAL_ERROR "Sanitizers are only available when using Clang/Clang++") endif()