summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-12 01:37:00 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-12 01:37:00 +0100
commit4b8c626b7e66ab1d4d69606e10316542c8873842 (patch)
tree94140f93b3911196ab60866fefb5c9f807a7a2ab /wscript
parent4b8eee1359d817937b84df7e88126fa16040e5c9 (diff)
Add direction support for SMPTE subtitles; fix pragma warnings with non-openmp builds.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index efc989ae..e2a57ed2 100644
--- a/wscript
+++ b/wscript
@@ -58,7 +58,7 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter', '-Wno-unused-local-typedef'])
if conf.options.enable_openmp:
- conf.env.append_value('CXXFLAGS', '-fopenmp')
+ conf.env.append_value('CXXFLAGS', ['-fopenmp', '-DLIBDCP_OPENMP'])
conf.env.LIB_OPENMP = ['gomp']
conf.check_cfg(package='openssl', args='--cflags --libs', uselib_store='OPENSSL', mandatory=True)