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

Craig Scott audiofanatic at gmail.com
Sat Nov 14 18:11:44 EST 2015


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/b8e2e882/attachment.html>


More information about the CMake mailing list