diff --git a/data/scripts/create_apple_dmg.sh.in b/data/scripts/create_apple_dmg.sh.in index 0116f1f69..eb77b75bb 100644 --- a/data/scripts/create_apple_dmg.sh.in +++ b/data/scripts/create_apple_dmg.sh.in @@ -11,9 +11,9 @@ fi # set up your app name, version number, and background image file name APP_NAME="@MACOSX_BUNDLE_BUNDLE_NAME@" -VERSION="@MACOSX_BUNDLE_LONG_VERSION@" +VERSION="@MACOSX_BUNDLE_LONG_VERSION_STRING@" DMG_BACKGROUND_IMG="dmg_branding.png" -cp "@CMAKE_INSTALL_PREFIX@/data/$DMG_BACKGROUND_IMG" . +cp "@CMAKE_SOURCE_DIR@/data/${DMG_BACKGROUND_IMG}" . # you should not need to change these APP_LOWERCASE=$(echo $APP_NAME|tr '[:upper:]' '[:lower:]')