summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOwen Rudge <owen@owenrudge.net>2020-12-13 22:43:37 +0000
committerMichael Lutz <michi@icosahedron.de>2020-12-13 23:58:37 +0100
commitb14e3b9b9df2294e1f0b7fab8b2c23381e32ade7 (patch)
tree1a091ab656a8c5eacea4060299e666e1ac9032c6 /cmake
parentd1fa6b129c94b7c4ae6e45184a25962d49d074b8 (diff)
downloadopenttd-b14e3b9b9df2294e1f0b7fab8b2c23381e32ade7.tar.xz
Feature: Switch to bzip2 compression for DMG files (supported by OS X 10.4+)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/PackageBundle.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/PackageBundle.cmake b/cmake/PackageBundle.cmake
index a443da3c4..7f96e05fa 100644
--- a/cmake/PackageBundle.cmake
+++ b/cmake/PackageBundle.cmake
@@ -5,6 +5,7 @@ set(CPACK_BUNDLE_ICON "${CMAKE_SOURCE_DIR}/os/macosx/openttd.icns")
set(CPACK_BUNDLE_PLIST "${CMAKE_CURRENT_BINARY_DIR}/Info.plist")
set(CPACK_BUNDLE_STARTUP_COMMAND "${CMAKE_SOURCE_DIR}/os/macosx/launch.sh")
set(CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/os/macosx/splash.png")
+set(CPACK_DMG_FORMAT "UDBZ")
# Create a temporary Info.plist.in, where we will fill in the version via
# CPackProperties.cmake.in. This because at this point in time the version