diff options
author | Daniel Fischer <daniel.fischer@oracle.com> | 2011-08-15 12:10:08 +0200 |
---|---|---|
committer | Daniel Fischer <daniel.fischer@oracle.com> | 2011-08-15 12:10:08 +0200 |
commit | 888b8793a256040ab9b7e008c52936da75a3d116 (patch) | |
tree | 3f0deca628a70ebeaf18f99106d202c3c3723a06 /cmake/plugin.cmake | |
parent | afe0cb3faa979cc2434a4caad4b474b8d40cb34f (diff) | |
download | mariadb-git-888b8793a256040ab9b7e008c52936da75a3d116.tar.gz |
Source plugin library files list from cmake-generated file in RPM builds
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r-- | cmake/plugin.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index 6f534568a2d..e3e3c584d47 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -196,6 +196,10 @@ MACRO(MYSQL_ADD_PLUGIN) # Install dynamic library MYSQL_INSTALL_TARGETS(${target} DESTINATION ${INSTALL_PLUGINDIR} COMPONENT Server) INSTALL_DEBUG_TARGET(${target} DESTINATION ${INSTALL_PLUGINDIR}/debug) + # Add installed files to list for RPMs + FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files + "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n" + "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n") # For internal testing in PB2, append collections files IF(DEFINED ENV{PB2WORKDIR}) PLUGIN_APPEND_COLLECTIONS(${plugin}) |