From f0974530068d1c04285010673e6512e29c674227 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 12 May 2015 19:52:42 +0500 Subject: Fix missing define in blenloader It caused blender versions compiled with scons not having proper build date/hash stored in the .blend file. --- source/blender/blenloader/SConscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript index bd002e59fa4..31dfc71ac73 100644 --- a/source/blender/blenloader/SConscript +++ b/source/blender/blenloader/SConscript @@ -43,11 +43,14 @@ incs = [ env['BF_ZLIB_INC'], ] +defs = [] + +if env['BF_BUILDINFO']: + defs.append('WITH_BUILDINFO') + if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): incs.append(env['BF_PTHREADS_INC']) -defs = [] - if env['WITH_BF_INTERNATIONAL']: defs.append('WITH_INTERNATIONAL') -- cgit v1.2.3