Don't strip binaries with asan

This commit is contained in:
momo5502
2025-03-19 06:59:42 +01:00
parent 9cf61cb058
commit 7b9e1c6a80

View File

@@ -312,7 +312,7 @@ endmacro()
##########################################
function(momo_strip_target target)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR MOMO_ENABLE_SANITIZER)
return()
endif()