diff --git a/CMakeLists.txt b/CMakeLists.txt index 711a08343..af7427528 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -603,9 +603,11 @@ elseif(APPLE_MACOS AND NOT ENABLE_MONOLITHIC_INSTALL) include(GetGitRevisionDescription) get_git_head_revision(GIT_REFSPEC GIT_SHA1) + string(TIMESTAMP CURRENT_YEAR "%Y") set(MACOSX_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_BUNDLE_VERSION ${GIT_SHA1}) set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${APP_SHORT_VERSION})