summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJani Tolonen <jani.k.tolonen@gmail.com>2013-01-23 15:52:59 +0100
committerJani Tolonen <jani.k.tolonen@gmail.com>2013-01-23 15:52:59 +0100
commit09665bfd0e83efbc6c67f14852800fb4a0fe1e13 (patch)
tree1d141932803417e5d6a8250b4403700b1afa82d6 /cmake
parent2b0f4bdf44904c5211f879edd477f0b3b80df0ef (diff)
downloadmariadb-git-09665bfd0e83efbc6c67f14852800fb4a0fe1e13.tar.gz
MDEV-3931 Cassandra SE packaging
Added autodetection for thrift library and includes Added Cassandra Storage Engine rpm
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index f5017d6c984..94cac6526d9 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -20,12 +20,13 @@ SET(CPACK_COMPONENT_CLIENT_GROUP "client")
SET(CPACK_COMPONENT_MANPAGESCLIENT_GROUP "client")
SET(CPACK_COMPONENT_README_GROUP "server")
SET(CPACK_COMPONENT_SHAREDLIBRARIES_GROUP "shared")
+SET(CPACK_COMPONENT_CASSANDRASELIBRARIES_GROUP "CassandraSE")
SET(CPACK_COMPONENT_COMMON_GROUP "common")
SET(CPACK_COMPONENT_COMPAT_GROUP "compat")
SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
SupportFiles Development ManPagesDevelopment
ManPagesTest Readme ManPagesClient Test
- Common Client SharedLibraries)
+ Common Client SharedLibraries CassandraSE)
SET(CPACK_RPM_PACKAGE_NAME "MariaDB")
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")
@@ -63,6 +64,7 @@ SET(CPACK_RPM_SPEC_MORE_DEFINE "${CPACK_RPM_SPEC_MORE_DEFINE}
")
SET(CPACK_RPM_PACKAGE_REQUIRES "MariaDB-common")
+SET(CPACK_RPM_CassandraSE_PACKAGE_REQUIRES "MariaDB-server")
SET(CPACK_RPM_server_USER_FILELIST "%ignore /etc" "%ignore /etc/init.d" "%config(noreplace) /etc/my.cnf.d/*")
SET(CPACK_RPM_common_USER_FILELIST "%config(noreplace) /etc/my.cnf")