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>2008-11-11 17:14:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-11-11 17:14:22 +0300
commit483136c8e4d73fafe2b3e0953a6325107558d896 (patch)
tree478f98ce53b79cb877fe673e0808d8e8bb45ceb5 /source/blender/blenlib
parent5161c2ee3a6de421c47bd5e02bb6be4fe54191dc (diff)
Adjusted scons files so disabling quicktime, python and sdl also removes their includes when building.
writefile.c had usless include.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/SConscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenlib/SConscript b/source/blender/blenlib/SConscript
index e7a4f2eaf13..0dc28960492 100644
--- a/source/blender/blenlib/SConscript
+++ b/source/blender/blenlib/SConscript
@@ -7,9 +7,11 @@ cflags=''
incs = '. ../makesdna ../blenkernel #/intern/guardedalloc ../include'
incs += ' ' + env['BF_FREETYPE_INC']
incs += ' ' + env['BF_ZLIB_INC']
-incs += ' ' + env['BF_SDL_INC']
defs = ''
+if env['WITH_BF_SDL']:
+ incs += ' ' + env['BF_SDL_INC']
+
if env['WITH_BF_INTERNATIONAL']:
defs = 'WITH_FREETYPE2'