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

Tyler Roscoe tyler at cryptio.net
Mon May 18 19:58:41 EDT 2009


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.

tyler


More information about the CMake mailing list