[CMake] How to build cmake to have http support?

Cedric Doucet cedric.doucet at inria.fr
Sat Nov 14 18:15:27 EST 2015


Hello Craig, 

yes, I know it's possible to do that. 
However, I need to build cmake on a cluster where nothing seems to be installed (except make and some basic tools). 
Nevertheless, I will try this solution to be sure. 

Thank you for your answer! 

----- Mail original -----

> De: "Craig Scott" <audiofanatic at gmail.com>
> À: "Cedric Doucet" <cedric.doucet at inria.fr>
> Cc: cmake at cmake.org
> Envoyé: Dimanche 15 Novembre 2015 00:11:44
> Objet: [CMake] How to build cmake to have http support?

> I recently went through this exact same problem. In my case, when building
> CMake from source, I had to enable the configure option to use the
> system-provided curl instead of the one provided with CMake itself (I was on
> Linux using Centos 6). With that configure option, https support worked
> fine.

> > ---------- Forwarded message ----------
> 
> > From: Cedric Doucet < cedric.doucet at inria.fr >
> 
> > To: cmake at cmake.org
> 
> > Cc:
> 
> > Date: Sat, 14 Nov 2015 20:23:51 +0100 (CET)
> 
> > Subject: [CMake] How to build cmake to have http support?
> 

> > Hello,
> 

> > I would like to build cmake on a cluster where I don't have any
> > administrator
> > privilege.
> 
> > Since I use the ExternalProject_Add command in my configuration script, I
> > need to have https support with curl.
> 
> > But when one build cmake without specific option, it does not support
> > https.
> 

> > I managed to compile cmake such that it support https by the past, but I
> > can't remember how I did it.
> 
> > I remember I installed openssl and pass some flags to cmake.
> 

> > Could anyone remember me how to do it?
> 
> > Or, is it possible to recover passed flags from a local installation of
> > cmake?
> 

> > Thank you!
> 

> > Cédric
> 

> --
> Craig Scott
> Melbourne, Australia
> http://crascit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151115/25a556a6/attachment.html>


More information about the CMake mailing list