Fixed support for building without collada (scons and cmake). Only tested scons.
[blender.git] / source / blender / windowmanager / SConscript
index 08a291871f1398f2b558c26b0c0662e8880df2e2..c01649485a575e6b57e1e4ecc82905f78da65b12 100644 (file)
@@ -19,6 +19,9 @@ defs = []
 if not env['WITH_BF_PYTHON']:
        defs.append('DISABLE_PYTHON')
 
+if env['WITH_BF_COLLADA']:
+       defs.append('WITH_COLLADA')
+
 if env['OURPLATFORM'] == 'linux2':
        cflags='-pthread'
        incs += ' ../../../extern/binreloc/include'