Added optional address sanitizer flags
This commit is contained in:
1 parent
6864323b70
commit
d828aa5830
1 file changed
+4
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user