Add sanitizer support for jp3d executables
This commit is contained in:
parent
c08cc839e9
commit
9dbe549c5d
|
@ -28,6 +28,7 @@ endif()
|
||||||
# Loop over all executables:
|
# Loop over all executables:
|
||||||
foreach(exe opj_jp3d_compress opj_jp3d_decompress)
|
foreach(exe opj_jp3d_compress opj_jp3d_decompress)
|
||||||
add_executable(${exe} ${exe}.c ${common_SRCS})
|
add_executable(${exe} ${exe}.c ${common_SRCS})
|
||||||
|
add_sanitizers(${exe})
|
||||||
target_link_libraries(${exe} openjp3d)
|
target_link_libraries(${exe} openjp3d)
|
||||||
# On unix you need to link to the math library:
|
# On unix you need to link to the math library:
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
|
Loading…
Reference in New Issue