Commit 3c9ecf4b authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-31231 fix windows packaging

followup for 7ba9c7fb
parent a8d2e230
......@@ -447,7 +447,9 @@ IF(CONNECT_WITH_JDBC AND JAVA_FOUND AND JNI_FOUND)
get_target_property(_jarFile JdbcInterface JAR_FILE)
INSTALL(FILES
${_jarFile} DESTINATION ${INSTALL_MYSQLSHAREDIR} COMPONENT connect-engine-jdbc)
IF(CPACK_COMPONENTS_ALL)
SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} connect-engine-jdbc PARENT_SCOPE)
ENDIF()
SET(CPACK_RPM_connect-engine-jdbc_PACKAGE_REQUIRES "jre-headless >= 1.8 MariaDB-connect-engine" PARENT_SCOPE)
#how to make it meaningful? SUGGESTS? (mariadb-java-client or mysql-connector-java) ?
#SET(CPACK_RPM_connect-engine-jdbc_PACKAGE_RECOMMENDS "mariadb-java-client postgresql-jdbc mysql-connector-java" PARENT_SCOPE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment