summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDaniel Fischer <daniel.fischer@oracle.com>2011-09-21 12:40:41 +0200
committerDaniel Fischer <daniel.fischer@oracle.com>2011-09-21 12:40:41 +0200
commit7450044eb77157275241d40623865e102b577977 (patch)
treeb2ce22644a29502769b8202db0ab2e8f3b5ecea6 /cmake
parentd27d267ee73e9d307e80d4bf91aefcf746b502f7 (diff)
parent8433c8ce61956fdeea45a55c7262bf509aaefb0d (diff)
downloadmariadb-git-7450044eb77157275241d40623865e102b577977.tar.gz
merge from 5.5.16
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake4
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})