meson: Fix missing variable in v4l2 build

This commit is contained in:
Nirbheek Chauhan 2018-08-01 01:10:49 +05:30
parent 7679412b69
commit 1c645f83f6

View file

@ -27,7 +27,7 @@ v4l2_sources = [
v4l2 = get_option('v4l2')
if v4l2.disabled()
build_v4l2 = false
have_v4l2 = false
message('V4L2 plugin is disabled')
else
have_v4l2 = cc.has_header('linux/videodev2.h') or cc.has_header('sys/videodev2.h') or cc.has_header('sys/videoio.h')