aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-23 22:15:55 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-09-23 22:15:55 -0500
commit60eddc566e429ed9223750ab364604c975caedf7 (patch)
tree78405c6da50a1c8c44463e8e3ad2c8b3bc52cd90 /CMakeLists.txt
parentMerge pull request #7911 (diff)
parentCMake: Add missing SANITIZE option (diff)
downloadmonero-60eddc566e429ed9223750ab364604c975caedf7.tar.xz
Merge pull request #7917
167cbdf CMake: Add missing SANITIZE option (mj-xmr)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b9ba570d..52638c064 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -503,6 +503,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")