summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2020-12-14 09:51:38 +0100
committerPatric Stout <github@truebrain.nl>2020-12-19 18:26:29 +0100
commit2df182748c8470be9b73ee45ec8acd185985fbde (patch)
treee21d38e33dba5ab2087b155698d6bdbe9b35eb5c
parent6228dde3da9b1368e8ca26e16fb2623f25b249ed (diff)
downloadopenttd-2df182748c8470be9b73ee45ec8acd185985fbde.tar.xz
Fix: [CMake] automatically detect dependencies for .deb packages
-rw-r--r--cmake/PackageDeb.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/PackageDeb.cmake b/cmake/PackageDeb.cmake
index 0d635ebcb..5d6d26fdd 100644
--- a/cmake/PackageDeb.cmake
+++ b/cmake/PackageDeb.cmake
@@ -1,4 +1,3 @@
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "${ARCHITECTURE}")
set(CPACK_DEBIAN_PACKAGE_SECTION "games")
-# TODO -- Fix depends
-set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.15)")
+set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)