-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Use proxy information from Windows when downloading files #252
Comments
But in this case, the user will still have to specify a username and password? |
Perhaps; curl will use the username/password information from the environment variable so we could prompt for credentials (or, more nicely, take it from a command line argument/config file). |
I think microsoft/vcpkg-tool#49 has implemented this, @ras0219-msft, please reopen this issue if i'm wrong. |
Currently, portfiles use CMake's built-in downloading function to acquire sources. This function is backed by
curl
, which doesn't use Windows' system-wide proxy settings and instead requires special environment variables (http_proxy, https_proxy, ftp_proxy, ...).Inside
vcpkg.exe
, we should detect the Windows settings and fill in these environment variables before calling CMake so users get a much cleaner out-of-the-box experience.The text was updated successfully, but these errors were encountered: