Skip to content

Commit

Permalink
README change
Browse files Browse the repository at this point in the history
  • Loading branch information
pbosetti committed Jun 7, 2024
1 parent bd23bfd commit a9a2747
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,14 @@ If it is a filter, add
INSTALL_FILTER_DRIVER(MyFilterClassName, json, json)
```

If it is a sink, add

```cpp
INSTALL_SINK_DRIVER(MySinkClassName, json)
```
Finally, create a new target in the `CMakeLists.txt` file that compiles the new plugin. Something like:
```cmake
add_plugin(webcam LIBS ${OpenCV_LIBS} OtherLibsNeeded)
add_plugin(webcam LIBS LibsNeeded)
```

0 comments on commit a9a2747

Please sign in to comment.