diff --git a/OwnCloudCPack.cmake b/OwnCloudCPack.cmake index 309445c54..2b440809e 100644 --- a/OwnCloudCPack.cmake +++ b/OwnCloudCPack.cmake @@ -17,7 +17,7 @@ set( CPACK_PACKAGE_VERSION ${VERSION} ) if(APPLE) set( CPACK_GENERATOR "DragNDrop" ) set( CPACK_SOURCE_GENERATOR "") - set( CPACK_PACKAGE_FILE_NAME ownCloudClientSetup-${CPACK_PACKAGE_VERSION} ) + set( CPACK_PACKAGE_FILE_NAME ${APPLICATION_NAME}-${CPACK_PACKAGE_VERSION} ) set( CPACK_PACKAGE_ICON ${CMAKE_BINARY_DIR}/src/ownCloud.icns) set( CPACK_DMG_DS_STORE "${CMAKE_SOURCE_DIR}/admin/osx/DS_Store.in")