mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
CMake: Add missing SANITIZE option
This commit is contained in:
parent
8fde011dbe
commit
167cbdf870
@ -504,6 +504,7 @@ if(STATIC)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DZMQ_STATIC")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DZMQ_STATIC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(SANITIZE "Use ASAN memory sanitizer" OFF)
|
||||||
if(SANITIZE)
|
if(SANITIZE)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
message(FATAL_ERROR "Cannot sanitize with MSVC")
|
message(FATAL_ERROR "Cannot sanitize with MSVC")
|
||||||
|
Loading…
Reference in New Issue
Block a user