summaryrefslogtreecommitdiff
path: root/cmake/PackageDeb.cmake
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-04-07 12:00:36 +0200
committerglx22 <glx22@users.noreply.github.com>2020-06-05 19:36:05 +0200
commitb7643b1d36cb41eb6712042761c13b9819fcbe74 (patch)
tree3bb422ed83832cf197692aef82f142a187a28af6 /cmake/PackageDeb.cmake
parent56d54cf60eb5814f77dfcce91cf12879f01e1d1b (diff)
downloadopenttd-b7643b1d36cb41eb6712042761c13b9819fcbe74.tar.xz
Add: create bundles via CPack
CPack works closely together with CMake to do the right thing in terms of bundling (called 'package'). This generates all the packaging we need, and some more.
Diffstat (limited to 'cmake/PackageDeb.cmake')
-rw-r--r--cmake/PackageDeb.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/PackageDeb.cmake b/cmake/PackageDeb.cmake
new file mode 100644
index 000000000..0d635ebcb
--- /dev/null
+++ b/cmake/PackageDeb.cmake
@@ -0,0 +1,4 @@
+set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "${ARCHITECTURE}")
+set(CPACK_DEBIAN_PACKAGE_SECTION "games")
+# TODO -- Fix depends
+set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.15)")