summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-01-20 14:35:11 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2016-01-20 14:35:11 +0100
commit4bb62e91f6f93871106118f3ce47add4c109e208 (patch)
treec3b590663ed4b9646e54dc233e26f9e7e1abd58a /cmake
parent67cf76ad9b17f2825ac8759ead4928ed3d0f9ce7 (diff)
downloadmariadb-git-4bb62e91f6f93871106118f3ce47add4c109e208.tar.gz
Do not require server RPM for client plugins
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 95cf9e2cd6e..cd4e4faaaf0 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -210,8 +210,9 @@ MACRO(MYSQL_ADD_PLUGIN)
SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} ${ARG_COMPONENT})
SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} PARENT_SCOPE)
- SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_REQUIRES "MariaDB" PARENT_SCOPE)
-
+ IF (NOT ARG_CLIENT)
+ SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_REQUIRES "MariaDB" PARENT_SCOPE)
+ ENDIF()
# workarounds for cmake issues #13248 and #12864:
SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_PROVIDES "cmake_bug_13248" PARENT_SCOPE)
SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_OBSOLETES "cmake_bug_13248" PARENT_SCOPE)