Commit 92456967 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

opencv: suppress warnings about non-existent include dirs

Looks like opencv4 ships with a broken .pc file.

Part-of: <!1427>
parent e86a549b
Pipeline #175200 waiting for manual action with stages
in 1 minute and 38 seconds
......@@ -103,6 +103,10 @@ if opencv_found
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',
cpp_args : gst_plugins_bad_args + gstopencv_cargs + [ '-DGST_USE_UNSTABLE_API' ],
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