diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2009-10-08 10:32:07 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2009-10-08 10:32:07 +0400 |
commit | ae9e4a5742b0b512a15ef612764e9b60df8d51cb (patch) | |
tree | bb36a46e364035fc6aa57d55490e40a6170cc0b0 | |
parent | 5c328bb8fa0a44f5dd6c0eb36ff03cba11dee6f9 (diff) |
jmsoler's SConscript patch for phtreads
-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 ######################################################## |