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:
authorTon Roosendaal <ton@blender.org>2011-01-02 16:33:32 +0300
committerTon Roosendaal <ton@blender.org>2011-01-02 16:33:32 +0300
commit118667c1bfcbac12f38435f5e143ece41bb7a4fd (patch)
treeaea89b8fa0122bcb0dcae1519362308ac8bf89f3 /source/blender/blenloader/CMakeLists.txt
parent939cf114bb4465fc9977620b84bad60047526fe8 (diff)
Small feature for debugging pleasure:
The svn revision nr is saved in Blender file header now. Can only be retrieved with running blender -d now.
Diffstat (limited to 'source/blender/blenloader/CMakeLists.txt')
-rw-r--r--source/blender/blenloader/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/CMakeLists.txt b/source/blender/blenloader/CMakeLists.txt
index a9a89120b73..e51fb35a4ac 100644
--- a/source/blender/blenloader/CMakeLists.txt
+++ b/source/blender/blenloader/CMakeLists.txt
@@ -50,4 +50,8 @@ set(SRC
intern/readfile.h
)
+if(WITH_BUILDINFO)
+ add_definitions(-DNAN_BUILDINFO)
+endif()
+
blender_add_lib(bf_blenloader "${SRC}" "${INC}")