From 9dbe549c5d67826e6321a6b51b684ab7a24aaafe Mon Sep 17 00:00:00 2001 From: Karol Babioch Date: Wed, 28 Feb 2018 17:39:01 +0100 Subject: [PATCH] Add sanitizer support for jp3d executables --- src/bin/jp3d/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/jp3d/CMakeLists.txt b/src/bin/jp3d/CMakeLists.txt index 3cac1a8f..1b316164 100644 --- a/src/bin/jp3d/CMakeLists.txt +++ b/src/bin/jp3d/CMakeLists.txt @@ -28,6 +28,7 @@ endif() # Loop over all executables: foreach(exe opj_jp3d_compress opj_jp3d_decompress) add_executable(${exe} ${exe}.c ${common_SRCS}) + add_sanitizers(${exe}) target_link_libraries(${exe} openjp3d) # On unix you need to link to the math library: if(UNIX)