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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-11-16 22:00:02 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-11-16 22:02:27 +0400
commit09ecfc318cb808a578d5211e44051d28e1de0706 (patch)
tree0ee3127e37784f2b898ab8659d84dd21e32577c4 /build_files/cmake
parente8bd916ba5e6d65c8bcf246f3fa3fba5e0e7bdb1 (diff)
Fixes for buildinfo of exported source tree
- Better to set branch/hash to "unknown" so it's clear build is done from exported tree. - SCons used to reference undefined variable.
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/buildinfo.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/buildinfo.cmake b/build_files/cmake/buildinfo.cmake
index 0a299af88ee..389386629db 100644
--- a/build_files/cmake/buildinfo.cmake
+++ b/build_files/cmake/buildinfo.cmake
@@ -3,8 +3,8 @@
# Extract working copy information for SOURCE_DIR into MY_XXX variables
# with a default in case anything fails, for examble when using git-svn
-set(MY_WC_HASH "")
-set(MY_WC_BRANCH "")
+set(MY_WC_HASH "unknown")
+set(MY_WC_BRANCH "unknown")
set(MY_WC_COMMIT_TIMESTAMP 0)
# Guess if this is a SVN working copy and then look up the revision