Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create static build option #114

Open
vadixidav opened this issue Mar 5, 2019 · 1 comment
Open

Create static build option #114

vadixidav opened this issue Mar 5, 2019 · 1 comment

Comments

@vadixidav
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant