mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
meson: Fix build with openjpeg>=2.2
2.2 implies HAVE_2_1
This commit is contained in:
parent
a13e8b3efa
commit
df4c6385aa
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue