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

Install with libsodium #313

Open
Kreiseljustus opened this issue Mar 18, 2024 · 1 comment
Open

Install with libsodium #313

Kreiseljustus opened this issue Mar 18, 2024 · 1 comment

Comments

@Kreiseljustus
Copy link

How would i install the lib with vcpkg with libsodium instead of openssl. When trying to install openssl throws an error.

@zpostfacto
Copy link
Contributor

To be honest I don't think vcpkg has a good path for this. Or at least, I don't know what it is. Any expertise would be appreciated.

The vcpkg documentation says that "features" are supposed to be purely additive only. vcpkg does not really have a mechanism for mutually-exclusive options such as "which crypto backend to use."

I'd be interested to know what the OpenSSL error you get is.

You can build the library with libsodium, once you have the libsodium package in your system (I don't think vcpkg has a clean way to do this, since I am using vcpkg in "manifest mode", but again, I might be wrong). Just pass -DUSE_CRYPTO=libsodium to cmake

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

2 participants