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:
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r--source/blender/python/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index 21af50dbf10..ddb8594de79 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -31,7 +31,6 @@ Import ('env')
incs = '. ../editors/include ../makesdna ../makesrna ../blenfont ../blenlib ../blenkernel ../nodes'
incs += ' ../imbuf ../blenloader ../bmesh ../gpu ../render/extern/include ../windowmanager'
-incs += ' ../freestyle/intern/python'
incs += ' #intern/guardedalloc #intern/memutil #extern/glew/include #intern/cycles/blender'
incs += ' #intern/audaspace/intern ' + env['BF_PYTHON_INC']
@@ -102,6 +101,10 @@ if env['WITH_BF_CYCLES']:
if env['WITH_BF_CYCLES_OSL']:
defs.append('WITH_CYCLES_OSL')
+if env['WITH_BF_FREESTYLE']:
+ incs += ' ../freestyle/intern/python'
+ defs.append('WITH_FREESTYLE')
+
if env['WITH_BF_GAMEENGINE']:
defs.append('WITH_GAMEENGINE')