From 27c5306d1f9712b49cf9aaeaa9533243f79ed9c9 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 2 Jul 2019 08:08:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BE=D1=84=D0=BE=D1=80=D0=BC=D0=BB=D0=B5=D0=BD=D1=8B?= =?UTF-8?q?=20=D0=B2=20=D0=B2=D0=B8=D0=B4=D0=B5=20=D0=BE=D0=BF=D1=86=D0=B8?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibSanitizers.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMLibSanitizers.cmake b/CMLibSanitizers.cmake index bc57a4b..028d1d6 100644 --- a/CMLibSanitizers.cmake +++ b/CMLibSanitizers.cmake @@ -1,5 +1,7 @@ if(CMAKE_CXX_COMPILER_IS_CLANG OR CMAKE_CXX_COMPILER_IS_GCC) + option(SANITIZE_THREAD "Enable thread sanitizer" OFF) + option(SANITIZE_ADDRESS "Enable address sanitizer" OFF) if(SANITIZE_THREAD AND SANITIZE_ADDRESS) message(FATAL_ERROR "AddressSanitizer is not compatible with ThreadSanitizer.") endif()