mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Merge pull request #7917
167cbdf
CMake: Add missing SANITIZE option (mj-xmr)
This commit is contained in:
commit
60eddc566e
@ -503,6 +503,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