mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
opencv: fix OPENCV_PATH_NAME when using meson
Meson was checking for $prefix/OpenCV but was then defining OPENCV_PATH_NAME with 'OpenCv' rather than 'OpenCV'. https://bugzilla.gnome.org/show_bug.cgi?id=793212
This commit is contained in:
parent
fc4fe1c10e
commit
58ce84a3ea
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ if opencv_found
|
||||||
else
|
else
|
||||||
r = run_command('test', '-d', opencv_prefix + '/share/OpenCV')
|
r = run_command('test', '-d', opencv_prefix + '/share/OpenCV')
|
||||||
if r.returncode() == 0
|
if r.returncode() == 0
|
||||||
gstopencv_cargs += '-DOPENCV_PATH_NAME="OpenCv"'
|
gstopencv_cargs += '-DOPENCV_PATH_NAME="OpenCV"'
|
||||||
else
|
else
|
||||||
error('Unable to detect OpenCV data directory')
|
error('Unable to detect OpenCV data directory')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue