diff --git a/CMakeLists.txt b/CMakeLists.txt index e3de93a8..c7d99535 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 "")