Fixing asan flags

This commit is contained in:
stephb9959
2022-03-27 08:14:37 -07:00
parent fdced9af89
commit 23106fc89c

View File

@@ -49,8 +49,10 @@ set(BUILD_SHARED_LIBS 1)
add_definitions(-DTIP_SECURITY_SERVICE="1")
add_compile_options(-Wall -Wextra)
# add_compile_options(-fsanitize=address)
# add_link_options(-fsanitize=address)
if(ASAN)
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
endif()
find_package(OpenSSL REQUIRED)
find_package(ZLIB REQUIRED)