Commit 61429ef4 authored by Youngsoo Lee's avatar Youngsoo Lee Committed by Tim-Philipp Müller
Browse files

opencv: Fix build error on macOS

The build fails on macos with the following error:
/usr/local/Cellar/opencv/4.5.0_5/include/opencv4/opencv2/core/mat.hpp:2226:15: error: no template named 'initializer_list' in namespace 'std'
      Mat_(std::initializer_list<_Tp> values);
fatal error: too many errors emitted, stopping now [-ferror-limit=]
 35 warnings and 20 errors generated.

Part-of: <gstreamer/gst-plugins-bad!2386>
parent f1167886
......@@ -29,6 +29,7 @@ if opencv_dep.found()
c_args : gst_plugins_bad_args + ['-DBUILDING_GST_OPENCV'],
cpp_args : gst_plugins_bad_args + gstopencv_cargs + ['-DBUILDING_GST_OPENCV'],
override_options : ['cpp_std=c++11'],
include_directories : [configinc, libsinc],
version : libversion,
soversion : soversion,
Supports Markdown
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