Skip to content

Commit

Permalink
linker warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
erincatto committed Apr 25, 2024
1 parent ed8982f commit f400aa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ list( APPEND ENKITS_SRC ${ENKITS_HEADERS} )
if(ENKITS_SANITIZE)
if(MSVC)
add_compile_options(/fsanitize=address)
add_link_options(/INCREMENTAL:NO)
else()
# add_compile_options(-fsanitize=thread -fno-omit-frame-pointer)
add_compile_options(-fsanitize=address -fsanitize-address-use-after-scope -fsanitize=undefined)
Expand Down

0 comments on commit f400aa8

Please sign in to comment.