diff options
author | mj-xmr <mjxmr@protonmail.com> | 2021-09-02 10:54:43 +0200 |
---|---|---|
committer | mj-xmr <mjxmr@protonmail.com> | 2021-09-02 16:28:19 +0200 |
commit | 167cbdf870903b9d5d7e32a943798d8f292af0b4 (patch) | |
tree | 298128907f4398379eaab886e7ba90e445019222 | |
parent | Merge pull request #7893 (diff) | |
download | monero-167cbdf870903b9d5d7e32a943798d8f292af0b4.tar.xz |
CMake: Add missing SANITIZE option
-rw-r--r-- | CMakeLists.txt | 1 |
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") |