diff options
Diffstat (limited to 'utils/meson.build')
-rw-r--r-- | utils/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/meson.build b/utils/meson.build index b1e7918..ac73b5b 100644 --- a/utils/meson.build +++ b/utils/meson.build @@ -13,5 +13,7 @@ if libevdev_dep.found() executable('kmstouch', 'kmstouch.cpp', dependencies : [ common_deps, libevdev_dep ], install : false) endif -executable('omap-wbcap', 'omap-wbcap.cpp', dependencies : [ common_deps ], install : false) -executable('omap-wbm2m', 'omap-wbm2m.cpp', dependencies : [ common_deps ], install : false) +if get_option('v4l2').enabled() + executable('omap-wbcap', 'omap-wbcap.cpp', dependencies : [ common_deps, libv4l2xx_dep ], install : false) + executable('omap-wbm2m', 'omap-wbm2m.cpp', dependencies : [ common_deps, libv4l2xx_dep ], install : false) +endif |