summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2017-08-14 16:33:48 -0300
committerSebastian Dröge <sebastian@centricular.com>2017-08-17 13:39:33 +0300
commit0b315fcc1e9859a7e811033005ae763aaeef5c59 (patch)
tree968baca22e11a1a9cac78f64425111456daaf995 /ext
parenta35fda1226ecd2a9a192ca9bde1a0a2db17537cf (diff)
downloadgstreamer-plugins-bad-0b315fcc1e9859a7e811033005ae763aaeef5c59.tar.gz
meson: Fix build with openjpeg>=2.2
2.2 implies HAVE_2_1
Diffstat (limited to 'ext')
-rw-r--r--ext/openjpeg/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openjpeg/meson.build b/ext/openjpeg/meson.build
index e9c416c96..0d97ebb9e 100644
--- a/ext/openjpeg/meson.build
+++ b/ext/openjpeg/meson.build
@@ -9,7 +9,7 @@ openjpeg_cargs = []
# Check for 2.2, 2.1, then 2.0
openjpeg_dep = dependency('libopenjp2', version : '>=2.2', required : false)
if openjpeg_dep.found()
- openjpeg_cargs += ['-DHAVE_OPENJPEG_2_2']
+ openjpeg_cargs += ['-DHAVE_OPENJPEG_2_2', '-DHAVE_OPENJPEG_2_1']
else
openjpeg_dep = dependency('libopenjp2', version : '>=2.1', required : false)
if openjpeg_dep.found()