mirror of
https://github.com/opencv/opencv.git
synced 2024-12-14 00:39:13 +08:00
11 lines
214 B
Bash
11 lines
214 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
cmake -GNinja \
|
||
|
-DOPENCV_PLUGIN_NAME=opencv_videoio_ffmpeg_ubuntu_$2 \
|
||
|
-DOPENCV_PLUGIN_DESTINATION=$1 \
|
||
|
-DCMAKE_BUILD_TYPE=$3 \
|
||
|
/opencv/modules/videoio/misc/plugin_ffmpeg
|
||
|
ninja
|