Merged changes in the trunk up to revision 55357.
[blender.git] / build_files / scons / tools / Blender.py
index b3c3907129f165c24c51fca99604c45034cd908a..4572ee7f742bc682c210ba140f3f99c0e5247035 100644 (file)
@@ -391,6 +391,10 @@ def creator(env):
         if env['BF_DEBUG']:
             defs.append('_DEBUG')
 
         if env['BF_DEBUG']:
             defs.append('_DEBUG')
 
+    if env['WITH_BF_FREESTYLE']:
+        incs.append('#/source/blender/freestyle')
+        defs.append('WITH_FREESTYLE')
+
     if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
         incs.append(env['BF_PTHREADS_INC'])
         incs.append('#/intern/utfconv')
     if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
         incs.append(env['BF_PTHREADS_INC'])
         incs.append('#/intern/utfconv')