Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/SoundSystem/SConscript')
-rw-r--r--intern/SoundSystem/SConscript5
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] )