mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added optional address sanitizer flags
This commit is contained in:
parent
6864323b70
commit
d828aa5830
@ -25,6 +25,10 @@ else()
|
|||||||
add_compile_options(-W -Wall -Wno-deprecated-declarations)
|
add_compile_options(-W -Wall -Wno-deprecated-declarations)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# optional address sanitizer, outcomment to turn on
|
||||||
|
#add_compile_options(-fsanitize=address)
|
||||||
|
#add_link_options(-fsanitize=address)
|
||||||
|
|
||||||
# find git
|
# find git
|
||||||
find_package(Git)
|
find_package(Git)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user