diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-05 04:09:40 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-05 04:09:40 +0300 |
commit | 3d3f5d1640d5eca8d144d0f348eb08c25298039e (patch) | |
tree | e5687179e2de90ea1e9b51d824daa7a07bb8d684 /intern/SoundSystem | |
parent | eb5705374eba3a60c0b9dbaf76d658e559d709a5 (diff) |
+ WITH_BF_OPENAL=0 should now actually not need OpenAL stuff
* BF_PROFILE_FLAGS to list form
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r-- | intern/SoundSystem/SConscript | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/SoundSystem/SConscript b/intern/SoundSystem/SConscript index d06b28e7c2d..4089453b7f3 100644 --- a/intern/SoundSystem/SConscript +++ b/intern/SoundSystem/SConscript @@ -6,12 +6,11 @@ sources = env.Glob('dummy/*.cpp') + env.Glob('intern/*.cpp') incs = '. intern ../moto/include ../string dummy openal sdl' defs = '' -if env['WITH_BF_OPENAL'] == 1: +if env['WITH_BF_OPENAL']: sources += env.Glob('openal/*.cpp') + env.Glob('sdl/*.cpp') incs += ' ' + env['BF_OPENAL_INC'] incs += ' ' + env['BF_SDL_INC'] - -if env['WITH_BF_OPENAL'] == 0: +else: defs = 'NO_SOUND' env.BlenderLib ('blender_sndsys', sources, Split(incs), Split(defs), libtype=['core','player2'], priority = [20,10] ) |