diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-11-27 14:36:10 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-01-12 16:47:23 +0100 |
commit | fbc171333eafea102a42622e1cf028e85f6e1b12 (patch) | |
tree | 8b520c3018b711cf7f6356d3d6b8cace530bea7e /cmake/plugin.cmake | |
parent | 5c53576c7b058150a010d5a7f742b2a821ee6f5d (diff) | |
download | mariadb-git-fbc171333eafea102a42622e1cf028e85f6e1b12.tar.gz |
MDEV-24292 support semi-independent versioning for sub-packages
3. Embed plugin version into the DEB package version
this assumes that -DDEB is only used from within autobake-deb.sh
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r-- | cmake/plugin.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index e0f6c1da292..2e98afe9ec8 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -259,6 +259,7 @@ MACRO(MYSQL_ADD_PLUGIN) SET(CPACK_RPM_${ARG_COMPONENT}_USER_FILELIST ${ignored} PARENT_SCOPE) IF (ARG_VERSION) SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_VERSION ${SERVER_VERSION}_${ARG_VERSION} PARENT_SCOPE) + SET_PLUGIN_DEB_VERSION(${target} ${SERVER_VERSION}-${ARG_VERSION}) ENDIF() IF(NOT ARG_CLIENT AND UNIX) IF (NOT ARG_CONFIG) |