cameracv/libs/opencv/modules/videoio/misc/plugin_gstreamer/build.sh

12 lines
211 B
Bash
Raw Normal View History

2023-05-18 21:39:43 +03:00
#!/bin/bash
set -e
cmake -GNinja \
-DOPENCV_PLUGIN_NAME=opencv_videoio_gstreamer \
-DOPENCV_PLUGIN_DESTINATION=$1 \
-DCMAKE_BUILD_TYPE=$2 \
/opencv/modules/videoio/misc/plugin_gstreamer
ninja