[CMake] Setting up a proxy server that Cmake knows about

Philip Lowman philip at yhbt.com
Tue May 19 07:55:30 EDT 2009


On Mon, May 18, 2009 at 7:58 PM, Tyler Roscoe <tyler at cryptio.net> wrote:

> On Mon, May 18, 2009 at 05:38:48PM -0600, Lober, Randy wrote:
> > I find a command
> >
> >     set(zlib_url http://www.zlib.net/zlib-1.2.3.tar.gz PARENT_SCOPE)
> >
> > How do I set values for the http proxy and the http proxy port such that
> > these downloads will complete?
> >
> > I have tried simple env variable settings or my proxy values like
> >
> > HTTP_PROXY=http://wwwproxy.sandia.gov:80/
>
> The env variable http_proxy is usually lowercase.
>
> Do you know what tool is doing the actual downloading? Figure that out
> and then see how you tell that tool to use your proxy.


CMake is using cURL so the cURL environment variables should just work.
Consult the cURL manual for details.

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090519/7b8e8d33/attachment.htm>


More information about the CMake mailing list