aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-09-02 10:54:43 +0200
committermj-xmr <mjxmr@protonmail.com>2021-09-02 16:28:19 +0200
commit167cbdf870903b9d5d7e32a943798d8f292af0b4 (patch)
tree298128907f4398379eaab886e7ba90e445019222
parentMerge pull request #7893 (diff)
downloadmonero-167cbdf870903b9d5d7e32a943798d8f292af0b4.tar.xz
CMake: Add missing SANITIZE option
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d06729931..592dfffe4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -504,6 +504,7 @@ if(STATIC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DZMQ_STATIC")
endif()
+option(SANITIZE "Use ASAN memory sanitizer" OFF)
if(SANITIZE)
if (MSVC)
message(FATAL_ERROR "Cannot sanitize with MSVC")