From 1e927e2cf0bae1d0d2d86d289b7aae61c277d02d Mon Sep 17 00:00:00 2001 From: Karol Babioch Date: Wed, 28 Feb 2018 17:41:31 +0100 Subject: [PATCH] Add sanitizer support for wx executables --- src/bin/wx/OPJViewer/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/wx/OPJViewer/CMakeLists.txt b/src/bin/wx/OPJViewer/CMakeLists.txt index 66cf01d2..53f007c0 100644 --- a/src/bin/wx/OPJViewer/CMakeLists.txt +++ b/src/bin/wx/OPJViewer/CMakeLists.txt @@ -26,4 +26,5 @@ set(OPJV_SRCS ${OPENJPEG_SOURCE_DIR}/src/bin/jp2/index.c ) add_executable(opjviewer ${OPJV_SRCS}) +add_sanitizers(opjviewer) target_link_libraries(opjviewer ${wxWidgets_LIBRARIES} openjpeg)