From 9b4af539d565866cce36c6126e66ac48d42fb24c Mon Sep 17 00:00:00 2001 From: Anel Husakovic Date: Mon, 23 Mar 2020 11:05:56 +0100 Subject: Don't compile plugins if server is not compiled --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1adbce5565..39f111e8cef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -413,8 +413,10 @@ UNSET (MYSQLD_STATIC_PLUGIN_LIBS CACHE) INCLUDE(mariadb_connector_c) # this does ADD_SUBDIRECTORY(libmariadb) -# Add storage engines and plugins. -CONFIGURE_PLUGINS() +IF (NOT WITHOUT_SERVER) + # Add storage engines and plugins. + CONFIGURE_PLUGINS() +ENDIF() ADD_SUBDIRECTORY(include) ADD_SUBDIRECTORY(dbug) -- cgit v1.2.1