mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 02:19:12 +08:00
12 lines
211 B
Bash
12 lines
211 B
Bash
|
#!/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
|