mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
CMake: enable ASAN in Debug builds.
This commit is contained in:
parent
bdd71d88f8
commit
bd983ca108
@ -13,7 +13,9 @@ set (UCHARDET_VERSION_MINOR 0)
|
||||
set (UCHARDET_VERSION_REVISION 8)
|
||||
|
||||
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
set (version_suffix .debug)
|
||||
set(version_suffix .debug)
|
||||
add_compile_options("-fsanitize=address")
|
||||
add_link_options("-fsanitize=address")
|
||||
endif (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
|
||||
set (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user