diff options
author | Laurent Noel <c2ba> | 2019-09-25 21:06:20 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-09-25 21:06:20 +0300 |
commit | ae755c0167652ad95900d880c3e85a20e7bdc8b3 (patch) | |
tree | bf94aa1089fee2e4f86957a5182d3b3cb504e0cd /source | |
parent | 9e62cca29d1858b56329a07993b6ecf4c6be5d4d (diff) |
Windows: Fill ProductVersion of blender executable
On windows, the ProductVersion field of the blender executable was empty,
see [1] for more information. This field might be required by windows
tools such as SCCM agent to track usage statistics.
It seems that it was due to the BLEN_VER_RC_STR macro used in
winblender.rc not being a string.
[1] https://docs.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
Differential Revision: https://developer.blender.org/D5896
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index e1326d62ae0..85b6f24a269 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -133,7 +133,7 @@ if(WIN32 AND NOT UNIX) string(SUBSTRING ${BLENDER_VERSION} 2 1 bver2) string(SUBSTRING ${BLENDER_VERSION} 3 1 bver3) add_definitions( - -DBLEN_VER_RC_STR=${BLENDER_VERSION} + -DBLEN_VER_RC_STR="${BLENDER_VERSION}" -DBLEN_VER_RC_1=${bver1} -DBLEN_VER_RC_2=${bver2} -DBLEN_VER_RC_3=${bver3} |