diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-09-23 22:15:55 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-09-23 22:15:55 -0500 |
commit | 60eddc566e429ed9223750ab364604c975caedf7 (patch) | |
tree | 78405c6da50a1c8c44463e8e3ad2c8b3bc52cd90 /CMakeLists.txt | |
parent | Merge pull request #7911 (diff) | |
parent | CMake: Add missing SANITIZE option (diff) | |
download | monero-60eddc566e429ed9223750ab364604c975caedf7.tar.xz |
Merge pull request #7917
167cbdf CMake: Add missing SANITIZE option (mj-xmr)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
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") |