From cea1c4396dc4895577b9f70cbd93951a320bf352 Mon Sep 17 00:00:00 2001 From: opcm Date: Sat, 5 Oct 2024 20:18:21 +0200 Subject: [PATCH] Use dynamic libasan on MacOS --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b0b22152..87107bb1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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