Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Noel <c2ba>2019-09-25 21:06:20 +0300
committerRay Molenkamp <github@lazydodo.com>2019-09-25 21:06:20 +0300
commitae755c0167652ad95900d880c3e85a20e7bdc8b3 (patch)
treebf94aa1089fee2e4f86957a5182d3b3cb504e0cd /source/creator
parent9e62cca29d1858b56329a07993b6ecf4c6be5d4d (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/creator')
-rw-r--r--source/creator/CMakeLists.txt2
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}