diff options
-rw-r--r-- | source/blender/freestyle/SConscript | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript index 770ec8a1c2f..430b93d408d 100644 --- a/source/blender/freestyle/SConscript +++ b/source/blender/freestyle/SConscript @@ -12,6 +12,14 @@ incs += ' #/extern/glew/include #/intern/guardedalloc' incs += ' ' + env['BF_PYTHON_INC'] incs += ' ' + env['BF_PNG_INC'] + +if env['OURPLATFORM'] == 'linux2': + cflags='-pthread' + incs += ' ../../../extern/binreloc/include' + +if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'): + incs += ' ' + env['BF_PTHREADS_INC'] + ######################################################## # folders sources ######################################################## |