meson: fix logic to set HAVE_THEORA

https://bugzilla.gnome.org/show_bug.cgi?id=780392
This commit is contained in:
Gurkirpal Singh 2017-03-22 17:18:09 +05:30 committed by Tim-Philipp Müller
parent 75d9ec634c
commit 8fd5d04fef

View file

@ -195,7 +195,7 @@ have_omx_theora = cc.has_header_symbol(
prefix : extra_video_headers, prefix : extra_video_headers,
args : gst_omx_args, args : gst_omx_args,
required : false) required : false)
if have_omx_vp8 if have_omx_theora
cdata.set('HAVE_THEORA', 1) cdata.set('HAVE_THEORA', 1)
endif endif