diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-01-19 11:12:30 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-01-19 11:12:30 +0400 |
commit | 65fca39f77981db5a649d942f308fa457d18cb41 (patch) | |
tree | 1f9e305e2c16f5392247a72bb6dcd1e35aee3c47 /source/blender/makesrna | |
parent | 480b1030f911ac65a0ee5b0ffa8bcad2b0fc8323 (diff) |
Fix for building in release mode with scons.
Change given thumbs up from JesterKing.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript index b74972b204c..26fa793de9d 100644 --- a/source/blender/makesrna/intern/SConscript +++ b/source/blender/makesrna/intern/SConscript @@ -101,6 +101,10 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): if env['WITH_BF_INTERNATIONAL']: defs.append('WITH_INTERNATIONAL') +if not env['BF_DEBUG']: + defs.append('NDEBUG') + + makesrna_tool.Append(CPPDEFINES=defs) makesrna_tool.Append (CPPPATH = Split(incs)) |