Add sanitizer support for jp3d executables

This commit is contained in:
Karol Babioch 2018-02-28 17:39:01 +01:00
parent c08cc839e9
commit 9dbe549c5d
1 changed files with 1 additions and 0 deletions

View File

@ -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)