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@"