summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-05-05 11:42:18 +0200
committerSergei Golubchik <serg@mariadb.org>2016-05-05 12:29:40 +0200
commit4025251efd835f47bb2407453d0cbb99750b829e (patch)
tree0b8e63d1aff2cb0cb55143fdf54473d8f6d7cd4f /cmake
parent3a88adc3b2a046292301d708d4026bc6c5a4801e (diff)
downloadmariadb-git-4025251efd835f47bb2407453d0cbb99750b829e.tar.gz
fix rpm installation issues on Fedoras
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 329b60fc9f2..88e8da7cdbe 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -211,6 +211,8 @@ MACRO(MYSQL_ADD_PLUGIN)
NOT CPACK_COMPONENTS_ALL MATCHES ${ARG_COMPONENT})
IF (ARG_STORAGE_ENGINE)
SET(ver " = %{version}-%{release}")
+ ELSE()
+ SET(ver "")
ENDIF()
SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} ${ARG_COMPONENT} PARENT_SCOPE)