diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt index 747b23c7..d57e8ef0 100644 --- a/qt/CMakeLists.txt +++ b/qt/CMakeLists.txt @@ -97,11 +97,12 @@ endif() if (BUILD_QT_UI) if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(MACOSX_BUNDLE_INFO_STRING "${CMAKE_PROJECT_NAME} ${PROJECT_VERSION}") + string(TIMESTAMP COPYRIGHT_YEAR "%Y") + set(MACOSX_BUNDLE_INFO_STRING "${CMAKE_PROJECT_NAME} ${VERSION}") set(MACOSX_BUNDLE_BUNDLE_VERSION "${AFT_BASE_VERSION}") - set(MACOSX_BUNDLE_LONG_VERSION_STRING "${CMAKE_PROJECT_NAME} ${PROJECT_VERSION}") - set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION}") - set(MACOSX_BUNDLE_COPYRIGHT "2015-2020 Vladimir Menshakov") + set(MACOSX_BUNDLE_LONG_VERSION_STRING "${CMAKE_PROJECT_NAME} ${VERSION}") + set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${VERSION}") + set(MACOSX_BUNDLE_COPYRIGHT "2015-${COPYRIGHT_YEAR} Vladimir Menshakov") set(MACOSX_BUNDLE_ICON_FILE "android-file-transfer.icns") set(MACOSX_BUNDLE_GUI_IDENTIFIER "io.github.whoozle.android-file-transfer-linux") set(MACOSX_BUNDLE_BUNDLE_NAME "${CMAKE_PROJECT_NAME}")