Bugfix #24837
[blender.git] / source / blender / makesrna / intern / SConscript
index 702955980fd34fd1477a11ab7d26a26761867a56..ec588319eae7112279e17d8d412fb31a591b6577 100644 (file)
@@ -68,7 +68,7 @@ if env['WITH_BF_LCMS']:
     defs.append('WITH_LCMS')
 
 if env['WITH_BF_GAMEENGINE']:
     defs.append('WITH_LCMS')
 
 if env['WITH_BF_GAMEENGINE']:
-    defs.append('GAMEBLENDER=1')
+    defs.append('WITH_GAMEENGINE')
     
 if env['WITH_BF_FFTW3']:
     defs.append('FFTW3=1')
     
 if env['WITH_BF_FFTW3']:
     defs.append('FFTW3=1')
@@ -85,8 +85,11 @@ if env['WITH_BF_JACK']:
 if env['BF_UNIT_TEST']:
     defs.append('UNIT_TEST')
 
 if env['BF_UNIT_TEST']:
     defs.append('UNIT_TEST')
 
-if not env['WITH_BF_PYTHON']:
-    defs.append('DISABLE_PYTHON')
+if env['WITH_BF_PYTHON']:
+    defs.append('WITH_PYTHON')
+
+if env['WITH_BF_COLLADA']:
+    defs.append('WITH_COLLADA')
 
 if env['OURPLATFORM'] == 'linux2':
     cflags='-pthread'
 
 if env['OURPLATFORM'] == 'linux2':
     cflags='-pthread'