summaryrefslogtreecommitdiff
path: root/cmake/PackageBundle.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/PackageBundle.cmake')
-rw-r--r--cmake/PackageBundle.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/PackageBundle.cmake b/cmake/PackageBundle.cmake
index 7f96e05fa..737f4809a 100644
--- a/cmake/PackageBundle.cmake
+++ b/cmake/PackageBundle.cmake
@@ -3,7 +3,6 @@ string(TIMESTAMP CURRENT_YEAR "%Y")
set(CPACK_BUNDLE_NAME "OpenTTD")
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")
@@ -20,7 +19,7 @@ install(
"
include(BundleUtilities)
set(BU_CHMOD_BUNDLE_ITEMS TRUE)
- fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/openttd\" \"\" \"\")
+ fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/../MacOS/openttd\" \"\" \"\")
"
DESTINATION .
COMPONENT Runtime)