We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 250a89c commit 011497bCopy full SHA for 011497b
cmake/plugin.cmake
@@ -194,8 +194,11 @@ MACRO(MYSQL_ADD_PLUGIN)
194
# Install dynamic library
195
IF(ARG_COMPONENT)
196
IF(CPACK_COMPONENTS_ALL AND NOT CPACK_COMPONENTS_ALL MATCHES ${ARG_COMPONENT})
197
+ IF (ARG_STORAGE_ENGINE)
198
+ SET(ver " = %{version}-%{release}")
199
+ ENDIF()
200
SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} ${ARG_COMPONENT} PARENT_SCOPE)
- SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_REQUIRES "MariaDB" PARENT_SCOPE)
201
+ SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_REQUIRES "MariaDB${ver}" PARENT_SCOPE)
202
203
IF (NOT ARG_CONFIG)
204
SET(ARG_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/${target}.cnf")
0 commit comments