Skip to content

Commit

Permalink
sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Oct 12, 2024
1 parent 00cbabd commit e5f7120
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ set(CMAKE_MODULE_PATH

if(MSVC)
add_compile_options(/EHsc)
else()
add_link_options(-fsanitize=address)
add_compile_options(-fsanitize=address)
endif()

if(WIN32)
Expand Down

0 comments on commit e5f7120

Please sign in to comment.