summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-09-08 19:45:39 +0200
committerSergei Golubchik <serg@mariadb.org>2018-09-21 13:31:37 +0200
commit5c83305c4c395cf79f19c6fc63e8d566e3815598 (patch)
tree11ed161bd49e3cfa29ce871cbd98c6779a22f3ed /cmake
parent8b6b2c3ea16ab2a3ad2591e49a5e9eea9e9b2bfc (diff)
downloadmariadb-git-5c83305c4c395cf79f19c6fc63e8d566e3815598.tar.gz
RPM: generate per-plugin.cnf files where git will ignore them
Diffstat (limited to 'cmake')
-rw-r--r--cmake/plugin.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 70b252c16b5..26acf442620 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -238,7 +238,7 @@ MACRO(MYSQL_ADD_PLUGIN)
SET(CPACK_RPM_${ARG_COMPONENT}_USER_FILELIST ${ignored} PARENT_SCOPE)
IF(NOT ARG_CLIENT AND UNIX)
IF (NOT ARG_CONFIG)
- SET(ARG_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/${target}.cnf")
+ SET(ARG_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${target}.cnf")
FILE(WRITE ${ARG_CONFIG} "[mariadb]\nplugin-load-add=${ARG_MODULE_OUTPUT_NAME}.so\n")
ENDIF()
INSTALL(FILES ${ARG_CONFIG} COMPONENT ${ARG_COMPONENT} DESTINATION ${INSTALL_SYSCONF2DIR})