Plugin Process: Disable lib on ASan/FreeBSD build
@@ -15,7 +15,11 @@ safe_check_symbol_exists (fork "sys/types.h;unistd.h" HAVE_FORK)
if (HAVE_MKFIFO)
if (HAVE_FORK)
+ if (ENABLE_ASAN AND CMAKE_SYSTEM_NAME MATCHES FreeBSD)
+ set (PLUGINPROCESS_NOTFOUND_INFO "pluginprocess library does not work with enabled AddressSanitizer on FreeBSD")
+ else (ENABLE_ASAN AND CMAKE_SYSTEM_NAME MATCHES FreeBSD)
set (PLUGINPROCESS_FOUND 1)
+ endif (ENABLE_ASAN AND CMAKE_SYSTEM_NAME MATCHES FreeBSD)
else (HAVE_FORK)
set (PLUGINPROCESS_NOTFOUND_INFO "fork does not exist on the target platform, excluding pluginprocess library")
endif (HAVE_FORK)
