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:
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/opensubdiv/SConscript b/intern/opensubdiv/SConscript
index e0bcc7f6b0f..0532bae1c29 100644
--- a/intern/opensubdiv/SConscript
+++ b/intern/opensubdiv/SConscript
@@ -58,6 +58,9 @@ checkOpenSubdivHeaderDefine("tbbEvaluator.h", 'OPENSUBDIV_HAS_TBB')
checkOpenSubdivHeaderDefine("glXFBEvaluator.h", 'OPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK')
checkOpenSubdivHeaderDefine("glComputeEvaluator.h", 'OPENSUBDIV_HAS_GLSL_COMPUTE')
+if env['WITH_BF_LIBMV']:
+ defs += ['OPENSUBDIV_HAS_OPENMP']
+
# generated data files
sources.extend((
os.path.join(env['DATA_SOURCES'], "gpu_shader_opensubd_display.glsl.c"),