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:
-rw-r--r--source/creator/CMakeLists.txt2
-rw-r--r--source/icons/winblender.rc5
2 files changed, 6 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 7e30e19a73f..1678edcd6a3 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -105,7 +105,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_M=${BLENDER_VERSION}
-DBLEN_VER_RC_1=${bver1}
-DBLEN_VER_RC_2=${bver2}
-DBLEN_VER_RC_3=${bver3}
diff --git a/source/icons/winblender.rc b/source/icons/winblender.rc
index 244c2cb2e2c..ea9285dbaaf 100644
--- a/source/icons/winblender.rc
+++ b/source/icons/winblender.rc
@@ -23,8 +23,13 @@ BEGIN
BEGIN
BLOCK "04090000"
BEGIN
+#ifdef FREE_WINDOWS // this doesnt work for mingw.
+ VALUE "FileVersion", "Unknown"
+ VALUE "ProductVersion", "Unknown"
+#else
VALUE "FileVersion", BLEN_VER_RC_STR
VALUE "ProductVersion", BLEN_VER_RC_STR
+#endif
VALUE "CompanyName", "Blender Foundation"
VALUE "FileDescription", "Blender"
VALUE "LegalCopyright", "GPLv2 (Blender Foundation)"