diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-29 19:14:43 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-29 19:14:43 +0100 |
commit | 6f2680a73c54a5c676f80f6b86c1985aced1dfe4 (patch) | |
tree | fddb2a6acc72a71f7be02cd01cfe9598f25c04e0 /storage/cassandra | |
parent | 97d3402b9c2260134d317e743f47c9bb29c27c2e (diff) | |
download | mariadb-git-6f2680a73c54a5c676f80f6b86c1985aced1dfe4.tar.gz |
move cassandra-related code from cmake/cpack_rpm.cmake
to storage/cassandra/CMakeLists.txt
Diffstat (limited to 'storage/cassandra')
-rw-r--r-- | storage/cassandra/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/storage/cassandra/CMakeLists.txt b/storage/cassandra/CMakeLists.txt index 251cfe65e6b..dbccc2eb127 100644 --- a/storage/cassandra/CMakeLists.txt +++ b/storage/cassandra/CMakeLists.txt @@ -53,4 +53,16 @@ IF(CASSANDRASE_OK) INSTALL(FILES cassandra.cnf DESTINATION ${INSTALL_SYSCONFDIR}/my.cnf.d COMPONENT CassandraSE) ENDIF(INSTALL_SYSCONFDIR) + + IF(RPM) + SET(CPACK_COMPONENT_CASSANDRASELIBRARIES_GROUP "CassandraSE" PARENT_SCOPE) + SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} CassandraSE PARENT_SCOPE) + SET(CPACK_RPM_CassandraSE_PACKAGE_REQUIRES "MariaDB-server" PARENT_SCOPE) + + # workarounds for cmake issues #13248 and #12864: + SET(CPACK_RPM_CassandraSE_USER_FILELIST ${ignored} "%config(noreplace) /etc/my.cnf.d/*" PARENT_SCOPE) + SET(CPACK_RPM_CassandraSE_PACKAGE_PROVIDES "cmake_bug_13248" PARENT_SCOPE) + SET(CPACK_RPM_CassandraSE_PACKAGE_OBSOLETES "cmake_bug_13248" PARENT_SCOPE) + ENDIF(RPM) + ENDIF(CASSANDRASE_OK) |