Skip to content
Snippets Groups Projects
Commit 3c255f7c authored by Karsten Suehring's avatar Karsten Suehring
Browse files

add address-sanitizer to linker options as well

parent 14319fc5
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,7 @@ if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" ) ...@@ -113,6 +113,7 @@ if( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
if( USE_ADDRESS_SANITIZER ) if( USE_ADDRESS_SANITIZER )
# add compile options # add compile options
add_compile_options( "-fsanitize=address" ) add_compile_options( "-fsanitize=address" )
add_link_options( "-fsanitize=address" )
endif() endif()
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment