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)