Update VersionInfo.rc.in to use TARGET_NAME.exe as original filename

This commit is contained in:
Ryan Huffman 2016-11-01 09:07:56 -07:00
parent 0cc98d4501
commit 5f8cee787f
2 changed files with 1 additions and 2 deletions

View file

@ -14,7 +14,7 @@ BEGIN
VALUE "FileDescription", "@APP_FULL_NAME@"
VALUE "FileVersion", "@BUILD_VERSION@"
VALUE "InternalName", "@TARGET_NAME@"
VALUE "OriginalFilename", "@EXE_NAME@"
VALUE "OriginalFilename", "@TARGET_NAME@.exe"
VALUE "ProductName", "@APP_FULL_NAME@"
VALUE "ProductVersion", "@BUILD_VERSION@"
END

View file

@ -134,7 +134,6 @@ elseif (WIN32)
configure_file("${HF_CMAKE_DIR}/templates/Icon.rc.in" ${CONFIGURE_ICON_RC_OUTPUT})
set(APP_FULL_NAME "High Fidelity Interface")
set(EXE_NAME "interface.exe")
set(CONFIGURE_VERSION_INFO_RC_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/VersionInfo.rc")
configure_file("${HF_CMAKE_DIR}/templates/VersionInfo.rc.in" ${CONFIGURE_VERSION_INFO_RC_OUTPUT})