Audaspace: Buildsystem update after Ton destroyed building with scons and cmake,...
[blender.git] / intern / audaspace / SConscript
index 02156169b0df5c0940e069684c61b669ad18ad06..9b9862d15a28b120083a45110d09ec0dbda5dc5a 100644 (file)
@@ -39,7 +39,8 @@ if env['WITH_BF_SNDFILE']:
 if env['WITH_BF_PYTHON']:
        sources += env.Glob('Python/*.cpp')
        incs += ' Python ' + env['BF_PYTHON_INC']
-       defs.append('WITH_PYTHON')
+else:
+       defs.append('DISABLE_PYTHON')
 
 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
     incs += ' ' + env['BF_PTHREADS_INC']