mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
opencv: patch to ensure headers are detected
This patch is used to ensure opencv headers are detected. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2454>
This commit is contained in:
parent
11a151ef80
commit
3764a1617d
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ if opencv_found
|
||||||
opencv_found = false
|
opencv_found = false
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
else
|
endif
|
||||||
|
|
||||||
|
if not opencv_found
|
||||||
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.6.0'], required : false)
|
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.6.0'], required : false)
|
||||||
opencv_found = opencv_dep.found()
|
opencv_found = opencv_dep.found()
|
||||||
if opencv_found
|
if opencv_found
|
||||||
|
|
Loading…
Reference in a new issue