Skip to content

Commit

Permalink
disable asan on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
opcm authored Oct 5, 2024
1 parent 34b3787 commit b697a1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ if(UNIX) # APPLE, LINUX, FREE_BSD
elseif()
set (PCM_DYNAMIC "")
endif()
if(APPLE)
set(PCM_NO_ASAN ON)
message(STATUS "AddressSanitizer is currently disabled on MacOS")
endif()
if(PCM_NO_ASAN)
message(STATUS "AddressSanitizer is disabled")
set(PCM_ASAN "")
Expand Down

0 comments on commit b697a1e

Please sign in to comment.