From df10215e4e00060ff31ab15287ed617cbd39a190 Mon Sep 17 00:00:00 2001 From: Username404 Date: Mon, 14 Feb 2022 22:42:00 +0100 Subject: [PATCH] Rename LEGALCOPYRIGHT to LEGAL-COPYRIGHT in the CMakeLists.txt and resources/Yerbacon.rc files Signed-off-by: Username404 --- CMakeLists.txt | 2 +- resources/Yerbacon.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0d9b58..debd24d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ set(EXEDESC "Transpiler for the yerbacon language.") string(TIMESTAMP SHORT_BUILD_TIMESTAMP "%Y%m") string(SUBSTRING ${SHORT_BUILD_TIMESTAMP} 2 4 SHORT_BUILD_TIMESTAMP) string(ASCII 169 CopyrightCharacter) -string(TIMESTAMP LEGALCOPYRIGHT "Copyright ${CopyrightCharacter} 2020-%Y. Available under the MPL-2.0 license.") +string(TIMESTAMP LEGAL-COPYRIGHT "Copyright ${CopyrightCharacter} 2020-%Y. Available under the MPL-2.0 license.") file(COPY "resources/${PROJECT_NAME}.ico" DESTINATION "processed") configure_file("resources/${PROJECT_NAME}.manifest" "processed/${PROJECT_NAME}.manifest" @ONLY) configure_file("resources/${PROJECT_NAME}.rc" "processed/${PROJECT_NAME}.rc" @ONLY) diff --git a/resources/Yerbacon.rc b/resources/Yerbacon.rc index 9da11b5..5325fe8 100644 --- a/resources/Yerbacon.rc +++ b/resources/Yerbacon.rc @@ -14,7 +14,7 @@ BEGIN VALUE "FileDescription", "@EXEDESC@" VALUE "FileVersion", "@CMAKE_PROJECT_VERSION@.@SHORT_BUILD_TIMESTAMP@" VALUE "InternalName", "@EXENAME@" - VALUE "LegalCopyright", "@LEGALCOPYRIGHT@" + VALUE "LegalCopyright", "@LEGAL-COPYRIGHT@" VALUE "OriginalName", "@EXENAME@.exe" VALUE "ProductName", "@PROJECT_NAME@" VALUE "ProductVersion", "@CODENAME@ @CMAKE_PROJECT_VERSION@"