chore(cmake): add a warning when using both jemalloc and asan.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>

Co-authored-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
Federico Di Pierro 2024-12-06 13:10:13 +01:00 committed by poiana
parent 72f4715688
commit ac191b746c

View File

@ -143,6 +143,9 @@ set(CMD_MAKE make)
include(ExternalProject)
if(USE_JEMALLOC)
if(USE_ASAN)
message(WARNING "Jemalloc and ASAN do not play well together")
endif()
include(jemalloc)
endif()