WITH_SAMPLERATE option for cmake, without this playback wont behave right so this...
[blender-staging.git] / intern / audaspace / SConscript
index 2c86849bc62278448b7c418e59da48394e7ed392..ecc9498718532806764134b71661b384868084d8 100644 (file)
@@ -44,4 +44,7 @@ if env['WITH_BF_PYTHON']:
 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
     incs += ' ' + env['BF_PTHREADS_INC']
 
+# not optional with scons yet
+defs.append('WITH_SAMPLERATE')
+
 env.BlenderLib ('bf_intern_audaspace', sources, Split(incs), defs, libtype=['intern','player'], priority = [25,215] )