diff --git a/CMakeLists.txt b/CMakeLists.txt index 064f445..79e9a8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,6 +101,7 @@ else() set(BUILD_FLAGS_DEBUG -g3 -gdwarf + -fsanitize=undefined -fsanitize-trap=undefined) target_compile_options(${PROJECT_NAME} PRIVATE ${WARNING_FLAGS}