Skip to content

Commit

Permalink
Use dynamic libasan 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 cea1c43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ if(NOT PCM_NO_ASAN)
set(PCM_NO_STATIC_LIBASAN ON)
message(STATUS "CentOS detected, using dynamic libasan")
endif()
if (APPLE)
set(PCM_NO_STATIC_LIBASAN ON)
message(STATUS "MacOS detected, using dynamic libasan")
endif()
endif()

if(UNIX) # LINUX, FREE_BSD, APPLE
Expand Down

0 comments on commit cea1c43

Please sign in to comment.