Skip to content

Commit

Permalink
mac update
Browse files Browse the repository at this point in the history
  • Loading branch information
jansorg committed Jan 18, 2019
1 parent 32a9958 commit 8510268
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ include(cmake/QtCommon.cmake)
project(tom-ui
VERSION 1.0.0
DESCRIPTION "Tom Time Tracker"
HOMEPAGE_URL "https://github.com/jansorg/tom-ui"
)
HOMEPAGE_URL "https://github.com/jansorg/tom-ui")

# Set PROJECT_VERSION_PATCH and PROJECT_VERSION_TWEAK to 0 if not present, needed by add_project_meta
fix_project_version()
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ The tray icon displays the recently used projects for a quick start of a new act
To be decided, probably GPL.

# Useful resources
- List of theme icons: https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
- List of theme icons: https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
- cmake:
- OSX: https://cmake.org/cmake/help/latest/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.html#prop_tgt:MACOSX_BUNDLE_INFO_PLIST
2 changes: 1 addition & 1 deletion cmake/MacOSXBundleInfo.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleName</key>
<string>${PROJECT_DESCRIPTION}</string>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
2 changes: 1 addition & 1 deletion cmake/QtCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (APPLE)
set_source_files_properties(${ICON_FILE} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)

# Identify MacOS bundle
set(MACOSX_BUNDLE_BUNDLE_NAME ${PROJECT_NAME})
set(MACOSX_BUNDLE_BUNDLE_NAME ${PROJECT_DESCRIPTION})
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}")
Expand Down

0 comments on commit 8510268

Please sign in to comment.