diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fe000c8f2b4abfb3e744f0c6301f375784370ae9..efd1e2b148e1dc2740921d72a9a90550a49bf499 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -3,8 +3,9 @@
 #
 enable_tnt_compile_flags()
 
-
-add_subdirectory(plugin)
+if (NOT TARGET_OS_DARWIN)
+    add_subdirectory(plugin)
+endif()
 
 include_directories(${LIBEV_INCLUDE_DIR})
 include_directories(${LIBEIO_INCLUDE_DIR})