summaryrefslogtreecommitdiff
path: root/cmake/cpack_deb.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-09-10 22:53:44 +0200
committerSergei Golubchik <sergii@pisem.net>2013-09-10 22:53:44 +0200
commit3de5613445b5e4ba6683769ab15afc3d1c71b5dd (patch)
tree7d78b5673a3e04c5828df2d8f37f0db417705580 /cmake/cpack_deb.cmake
parent588a1d652f5428beccb49328dd0d5e47e24232c2 (diff)
downloadmariadb-git-3de5613445b5e4ba6683769ab15afc3d1c71b5dd.tar.gz
INSTALL_DOCUMENTATION function for CMakeLists.txt
It puts files in the correct location for rpm/deb packages.
Diffstat (limited to 'cmake/cpack_deb.cmake')
-rw-r--r--cmake/cpack_deb.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/cpack_deb.cmake b/cmake/cpack_deb.cmake
new file mode 100644
index 00000000000..5fb9db1f07f
--- /dev/null
+++ b/cmake/cpack_deb.cmake
@@ -0,0 +1,9 @@
+#
+# One day it'll be a complete solution for building deb packages with CPack
+# But for now it's only to make INSTALL_DOCUMENTATION function happy
+#
+IF(DEB)
+SET(CPACK_COMPONENT_SERVER_GROUP "server")
+SET(CPACK_COMPONENT_README_GROUP "server")
+ENDIF(DEB)
+