Skip to content

Commit

Permalink
fix empty version used for plist generation
Browse files Browse the repository at this point in the history
  • Loading branch information
whoozle committed Feb 28, 2024
1 parent e225293 commit 19f9f8b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 19f9f8b

Please sign in to comment.