summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-31 13:26:33 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-31 13:26:33 +0300
commit3de650d5f9a896e77b605d0cbca4ce37f241fb96 (patch)
tree12118bdd57895bde39cdd77a9ef7bd6e64fc9da0 /cmake
parentHandle some more edge cases in timeline (diff)
downloadnheko-3de650d5f9a896e77b605d0cbca4ce37f241fb96.tar.xz
Fill out missing fields in Info.plist
fixes #423
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtCommon.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmake/QtCommon.cmake b/cmake/QtCommon.cmake
index 2145019e..2c7f34f6 100644
--- a/cmake/QtCommon.cmake
+++ b/cmake/QtCommon.cmake
@@ -38,9 +38,10 @@ if (APPLE)
 
     # Identify MacOS bundle
     set(MACOSX_BUNDLE_BUNDLE_NAME ${PROJECT_NAME})
-    set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION})
-    set(MACOSX_BUNDLE_LONG_VERSION_STRING ${PROJECT_VERSION})
-    set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
+    set(MACOSX_BUNDLE_INFO_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
+    set(MACOSX_BUNDLE_BUNDLE_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
+    set(MACOSX_BUNDLE_LONG_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
+    set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
     set(MACOSX_BUNDLE_COPYRIGHT ${COPYRIGHT})
     set(MACOSX_BUNDLE_GUI_IDENTIFIER ${IDENTIFIER})
     set(MACOSX_BUNDLE_ICON_FILE ${ICON_NAME})