Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-17 14:38:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-17 14:38:22 +0400
commit29bc3d70246b6686cd7c9df5a2b6ab9d8e42c3b3 (patch)
tree0c77e5ebab08f87b5d8fb7fc0c4716dd6a8b3e81
parentf9795b353e65b3f4ba382dd05621479e7e5a9597 (diff)
fix for scons building with compositor
-rw-r--r--source/blender/editors/space_node/SConscript3
-rw-r--r--source/blender/windowmanager/SConscript3
2 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/SConscript b/source/blender/editors/space_node/SConscript
index 4c6e94484e4..7e311b1329d 100644
--- a/source/blender/editors/space_node/SConscript
+++ b/source/blender/editors/space_node/SConscript
@@ -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 )
diff --git a/source/blender/windowmanager/SConscript b/source/blender/windowmanager/SConscript
index 57d632c7d04..bf219bb9c06 100644
--- a/source/blender/windowmanager/SConscript
+++ b/source/blender/windowmanager/SConscript
@@ -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] )