diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-08-14 16:33:48 -0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-08-17 13:39:33 +0300 |
commit | 0b315fcc1e9859a7e811033005ae763aaeef5c59 (patch) | |
tree | 968baca22e11a1a9cac78f64425111456daaf995 /ext | |
parent | a35fda1226ecd2a9a192ca9bde1a0a2db17537cf (diff) | |
download | gstreamer-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.build | 2 |
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() |