diff --git a/third-party/libscan/CMakeLists.txt b/third-party/libscan/CMakeLists.txt index 1f8ba9e..bea8756 100644 --- a/third-party/libscan/CMakeLists.txt +++ b/third-party/libscan/CMakeLists.txt @@ -11,11 +11,6 @@ if (SIST_DEBUG) antiword DEBUG ) -else() - add_compile_definitions( - antiword - NDEBUG - ) target_compile_options( antiword PRIVATE @@ -25,6 +20,11 @@ else() -fsanitize=address -fno-inline ) +else() + add_compile_definitions( + antiword + NDEBUG + ) endif() add_library(