From 002e09fa2dcde35a94feef4cb8579bf62b1fa96e Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Sat, 22 Oct 2022 16:52:47 +0300 Subject: [PATCH] [macOS] set copyright to Info.plist --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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})