summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-05-26 13:04:23 +0200
committerSergei Golubchik <sergii@pisem.net>2012-05-26 13:04:23 +0200
commit9f7bfbefb1171d106dfb895fbc431529e33e33f7 (patch)
treedcca2a80c2dcc3d156d54eb56fa3cdda934571dd /cmake/plugin.cmake
parent108265bd9e17f19a6bcae7a68d6e1b63dc349783 (diff)
downloadmariadb-git-9f7bfbefb1171d106dfb895fbc431529e33e33f7.tar.gz
Don't install debug plugins and don't populate unused "plugins.files" file.
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r--cmake/plugin.cmake10
1 files changed, 1 insertions, 9 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 7952c351e2f..1e7f83ec227 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -211,15 +211,7 @@ MACRO(MYSQL_ADD_PLUGIN)
SET(ARG_COMPONENT Server)
ENDIF()
MYSQL_INSTALL_TARGETS(${target} DESTINATION ${INSTALL_PLUGINDIR} COMPONENT ${ARG_COMPONENT})
- INSTALL_DEBUG_TARGET(${target} DESTINATION ${INSTALL_PLUGINDIR}/debug COMPONENT ${ARG_COMPONENT})
- # 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})
- ENDIF()
+ #INSTALL_DEBUG_TARGET(${target} DESTINATION ${INSTALL_PLUGINDIR}/debug COMPONENT ${ARG_COMPONENT})
ELSE()
IF(WITHOUT_${plugin})
# Update cache variable