fix for scons building with compositor
authorCampbell Barton <ideasman42@gmail.com>
Tue, 17 Jul 2012 10:38:22 +0000 (10:38 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 17 Jul 2012 10:38:22 +0000 (10:38 +0000)
source/blender/editors/space_node/SConscript
source/blender/windowmanager/SConscript

index 4c6e94484e4f88fde468a5c2e066bff0fb18b401..7e311b1329d7ca5fb1ec802683e850b0c2ea16e7 100644 (file)
@@ -25,4 +25,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', '
 if env['WITH_BF_INTERNATIONAL']:
     defs.append('WITH_INTERNATIONAL')
 
+if env['WITH_BF_COMPOSITOR']:
+    defs.append("WITH_COMPOSITOR")
+
 env.BlenderLib ( 'bf_editors_space_node', sources, Split(incs), defs, libtype=['core'], priority=[55], compileflags=cf )
index 57d632c7d042693c1bd6c422100de16925c514e2..bf219bb9c06db11e8b44c8e813a3fac5e1cd23a6 100644 (file)
@@ -43,4 +43,7 @@ if env['BF_BUILDINFO']:
 if env['WITH_BF_INTERNATIONAL']:
     defs.append('WITH_INTERNATIONAL')
 
+if env['WITH_BF_COMPOSITOR']:
+    defs.append("WITH_COMPOSITOR")
+
 env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defines=defs, libtype=['core'], priority=[5] )