Index: source/blender/makesrna/intern/SConscript |
=================================================================== |
--- source/blender/makesrna/intern/SConscript (revision 54826) |
+++ source/blender/makesrna/intern/SConscript (working copy) |
@@ -38,6 +38,8 @@ |
source_files = env.Glob('*.c') |
source_files.remove('rna_access.c') |
+if not env['WITH_BF_FREESTYLE']: |
+ source_files.remove('rna_linestyle.c') |
generated_files = source_files[:] |
generated_files.remove('rna_define.c') |
@@ -136,6 +138,10 @@ |
if env['WITH_BF_INTERNATIONAL']: |
defs.append('WITH_INTERNATIONAL') |
+if env['WITH_BF_FREESTYLE']: |
+ defs.append('WITH_FREESTYLE') |
+ incs += ' ../../freestyle' |
+ |
if not env['BF_DEBUG']: |
defs.append('NDEBUG') |