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.dou...@inria.fr>
> To: cmake@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
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to