mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
meson: fix opencv=disabled case if opencv is available on the system
ext/opencv/meson.build:103:2: ERROR: Unknown variable "gstopencv_dep".
This commit is contained in:
parent
a26cce1833
commit
da7cf85e3c
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue