fix for error when changing DISBALE_PYTHON -> WITH_PYTHON,

This define wasn't set in some parts of the BGE causing problems with the view matrix.
in CMake define for the entire BGE fixes this.
This commit is contained in:
Campbell Barton
2010-11-29 07:56:45 +00:00
parent 04d3741947
commit 1dd1cea06e
15 changed files with 18 additions and 53 deletions

View File

@@ -13,4 +13,8 @@ incs += ' #intern/guardedalloc #source/blender/blenlib'
if env['WITH_BF_CXX_GUARDEDALLOC']:
defs.append('WITH_CXX_GUARDEDALLOC')
if env['WITH_BF_PYTHON']:
incs += ' ' + env['BF_PYTHON_INC']
defs.append('WITH_PYTHON')
env.BlenderLib ( 'ge_oglrasterizer', Split(sources), Split(incs), defines = defs, libtype=['core','player'], priority=[350,75], cxx_compileflags=env['BGE_CXXFLAGS'])