diff --git a/CMakeLists.txt b/CMakeLists.txt index c587a661..ee85b1ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,10 @@ else() add_compile_options(-W -Wall -Wno-deprecated-declarations) endif() +# optional address sanitizer, outcomment to turn on +#add_compile_options(-fsanitize=address) +#add_link_options(-fsanitize=address) + # find git find_package(Git)