Add sanitizer support for mj2 executables

This commit is contained in:
Karol Babioch 2018-02-28 17:40:53 +01:00
parent 9d263c9b08
commit 24360bd84b
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ foreach(exe
${MJ2_SRCS}
${OPENJPEG_SOURCE_DIR}/src/bin/common/color.c
)
add_sanitizers(${exe})
set_property(
TARGET ${exe}
APPEND PROPERTY COMPILE_DEFINITIONS USE_MJ2