diff --git a/cmake/define.inc b/cmake/define.inc index 774074b85194018e67ca6e9ff4a7c32c3a6cf586..b381853eba57aa7b9efb905790e77b1d1fdcf900 100755 --- a/cmake/define.inc +++ b/cmake/define.inc @@ -177,10 +177,9 @@ IF (TD_LINUX) ELSE () SET(DEBUG_FLAGS "-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize=null -fno-sanitize=alignment -static-libasan -O0 -g3 -DDEBUG") ENDIF () - MESSAGE(STATUS "memory sanitizer detected as true") + MESSAGE(STATUS "${BoldRed}Will compile with memory sanitizer! ${ColourReset}") ELSE () SET(DEBUG_FLAGS "-O0 -g3 -DDEBUG") - MESSAGE(STATUS "memory sanitizer detected as false") ENDIF () SET(RELEASE_FLAGS "-O3 -Wno-error")