mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
opencv: suppress warnings about non-existent include dirs
Looks like opencv4 ships with a broken .pc file. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1427>
This commit is contained in:
parent
e86a549b5d
commit
92456967d0
1 changed files with 4 additions and 0 deletions
|
@ -103,6 +103,10 @@ if opencv_found
|
|||
endif
|
||||
|
||||
if opencv_found
|
||||
# opencv4 seems to ship with .pc file that references non-existent include dir
|
||||
# (/usr/include/opencv4/opencv instead of /usr/include/opencv4/opencv2)
|
||||
gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs'])
|
||||
|
||||
gstopencv = library('gstopencv',
|
||||
gstopencv_sources,
|
||||
cpp_args : gst_plugins_bad_args + gstopencv_cargs + [ '-DGST_USE_UNSTABLE_API' ],
|
||||
|
|
Loading…
Reference in a new issue