rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / nodes / SConscript
index 3e7e0dbe54c831468fff3ebb908f18683f112c36..4bed612144cb945f1074562bf530e5eeeaa75b2a 100644 (file)
@@ -22,10 +22,9 @@ defs = []
 if env['WITH_BF_PYTHON']:
     incs += ' ' + env['BF_PYTHON_INC']
     incs += ' ../python'
+    defs.append('WITH_PYTHON')
     if env['BF_DEBUG']:
         defs.append('_DEBUG')
-else:
-    defs.append('DISABLE_PYTHON')
 
 if env['OURPLATFORM'] == 'linux2':
     cflags='-pthread'