Fix T98726: Include blender version number in windows shortcuts

You can install several versions of blender side by side and all
of them will try to create a "Blender" shortcut, which if already
exists the msi installer throws a warning about.

This change adds the blender version number to the desktop and start
menu shortcuts, side steps the problem and it's easier to tell the
various blender versions apart.
This commit is contained in:
Ray molenkamp 2022-11-20 18:31:00 -07:00
parent 03b7982301
commit 24bd2d0bea
Notes: blender-bot 2023-02-13 15:15:14 +01:00
Referenced by issue #102667, Rendering an animation freezes at random frame
Referenced by issue #98726, Warning 1909 in different computers while installing
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ if(WIN32)
set(CPACK_WIX_LIGHT_EXTRA_FLAGS -dcl:medium)
endif()
set(CPACK_PACKAGE_EXECUTABLES "blender-launcher" "Blender")
set(CPACK_CREATE_DESKTOP_LINKS "blender-launcher" "Blender")
set(CPACK_PACKAGE_EXECUTABLES "blender-launcher" "Blender ${MAJOR_VERSION}.${MINOR_VERSION}")
set(CPACK_CREATE_DESKTOP_LINKS "blender-launcher" "Blender ${MAJOR_VERSION}.${MINOR_VERSION}")
include(CPack)