diff --git a/meson.build b/meson.build index 89a760e..94d0f6e 100644 --- a/meson.build +++ b/meson.build @@ -114,14 +114,11 @@ if gbm.found() config.set('HAVE_GBM', true) endif -if libavutil.found() - config.set('HAVE_LIBAVUTIL', true) -endif - if gbm.found() and libdrm.found() and libavcodec.found() and libavfilter.found() and libavutil.found() sources += [ 'src/h264-encoder.c', 'src/open-h264.c' ] dependencies += [libdrm, libavcodec, libavfilter, libavutil] config.set('ENABLE_OPEN_H264', true) + config.set('HAVE_LIBAVUTIL', true) endif configure_file(