Commit da7cf85e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

meson: fix opencv=disabled case if opencv is available on the system

ext/opencv/meson.build:103:2: ERROR:  Unknown variable "gstopencv_dep".
parent a26cce18
if get_option('opencv').disabled()
subdir_done()
endif
gstopencv_sources = [
'gstcvdilate.cpp',
'gstcvdilateerode.cpp',
......@@ -110,4 +114,6 @@ if opencv_found
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstopencv, install_dir : plugins_pkgconfig_install_dir)
elif get_option('opencv').enabled()
error('OpenCV support enabled but required dependencies were not found.')
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment