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:
authorMaxime Curioni <maxime.curioni@gmail.com>2009-10-08 10:32:07 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2009-10-08 10:32:07 +0400
commitae9e4a5742b0b512a15ef612764e9b60df8d51cb (patch)
treebb36a46e364035fc6aa57d55490e40a6170cc0b0 /source/blender/freestyle/SConscript
parent5c328bb8fa0a44f5dd6c0eb36ff03cba11dee6f9 (diff)
jmsoler's SConscript patch for phtreads
Diffstat (limited to 'source/blender/freestyle/SConscript')
-rw-r--r--source/blender/freestyle/SConscript8
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
########################################################