summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/handler_socket/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/handler_socket/CMakeLists.txt b/plugin/handler_socket/CMakeLists.txt
index 329ff58d7f2..5a1925b40e0 100644
--- a/plugin/handler_socket/CMakeLists.txt
+++ b/plugin/handler_socket/CMakeLists.txt
@@ -1,7 +1,8 @@
-IF(WIN32)
+IF(WIN32 OR WITHOUT_SERVER)
# Handlersocket does not compile on Windows, compiles but does
- # not start on FreeBSD.
+ # not start on FreeBSD.
+ # It is a server plugin and disable it explicitly here.
RETURN()
ENDIF()