Scons: disable player along with game-engine.

This commit is contained in:
Campbell Barton 2014-01-11 14:54:57 +11:00
parent 6d6bb2d130
commit 3072d817d8
1 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,9 @@ if 'blenderplayer' in B.targets:
if 'blendernogame' in B.targets:
env['WITH_BF_GAMEENGINE'] = False
if not env['WITH_BF_GAMEENGINE']:
env['WITH_BF_PLAYER'] = False
# build without elbeem (fluidsim)?
if env['WITH_BF_FLUID'] == 1:
env['CPPFLAGS'].append('-DWITH_MOD_FLUID')