cv-rs icon indicating copy to clipboard operation
cv-rs copied to clipboard

Create static build option

Open vadixidav opened this issue 6 years ago • 1 comments

OpenCV should also be able to be built and linked statically through the help of the cmake crate. It does not always need to be used this way, but I would like the option to do this. I also believe this should be the default behavior. If this is fine I can go ahead and implement this and write a PR. I will hide the system version behind a feature flag (something like system).

vadixidav avatar Mar 05 '19 19:03 vadixidav

This will be closed after #117. The default behavior is now statically building and linking OpenCV. You can opt into using the system install of OpenCV using the system feature if the old behavior is desired.

vadixidav avatar Apr 06 '19 01:04 vadixidav