Skip to content

Commit

Permalink
lestarch: removing leak sanitizer as it breaks on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Oct 21, 2021
1 parent 46fbcee commit 7e7f0a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ endif()
find_program(VALGRIND valgrind) # Find valgrind, and use it instead of leak check
# For this testing cmake project, enable AddressSanitizer, a runtime memory sanitizer, on all unit tests
if (BUILD_TESTING AND NOT VALGRIND)
add_compile_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=leak -fsanitize=undefined)
add_link_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=leak -fsanitize=undefined)
add_compile_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined)
add_link_options(-fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/cmake/FPrime-Code.cmake")

0 comments on commit 7e7f0a3

Please sign in to comment.