1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

[macOS] set copyright to Info.plist

This commit is contained in:
Andrey Filipenkov 2022-10-22 16:52:47 +03:00
parent c9198311a1
commit 002e09fa2d

View File

@ -603,9 +603,11 @@ elseif(APPLE_MACOS AND NOT ENABLE_MONOLITHIC_INSTALL)
include(GetGitRevisionDescription) include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_SHA1) get_git_head_revision(GIT_REFSPEC GIT_SHA1)
string(TIMESTAMP CURRENT_YEAR "%Y")
set(MACOSX_BUNDLE_NAME "${CMAKE_PROJECT_NAME}") set(MACOSX_BUNDLE_NAME "${CMAKE_PROJECT_NAME}")
set(MACOSX_BUNDLE_BUNDLE_NAME "${CMAKE_PROJECT_NAME}") set(MACOSX_BUNDLE_BUNDLE_NAME "${CMAKE_PROJECT_NAME}")
set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2007-${CURRENT_YEAR} VCMI team")
set(MACOSX_BUNDLE_GUI_IDENTIFIER "eu.vcmi.vcmi") set(MACOSX_BUNDLE_GUI_IDENTIFIER "eu.vcmi.vcmi")
set(MACOSX_BUNDLE_BUNDLE_VERSION ${GIT_SHA1}) set(MACOSX_BUNDLE_BUNDLE_VERSION ${GIT_SHA1})
set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${APP_SHORT_VERSION}) set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${APP_SHORT_VERSION})