[cmake-developers] Help enabling libssh2 in cmake
Jameson Merkow
jmerkow at gmail.com
Fri Oct 31 13:25:01 EDT 2014
Thanks Brad! Its working with my system curl!
Here is the curl version I am using.
curl 7.38.1-DEV (Linux) libcurl/7.38.1-DEV OpenSSL/1.0.1f zlib/1.2.8
libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s
rtsp scp sftp smtp smtps telnet tftp
Features: IDN IPv6 NTLM SSL libz
What are the next steps? Shall I wait till you complete re-adding curl
into the cmake build to submit? I could prevent users from using
CMAKE_USE_LIBSSH2=1 and CMAKE_USE_SYSTEM_CURL=0. Or I could submit it as
is (after I clean out the debug messages). I had been talking to Bill
Hoffman (on the users mailing list) about adding libssh2 support for
upcoming binaries, so I guess it depends on your build settings for the
binaries too...
-Jameson
On Thu, Oct 30, 2014 at 7:30 AM, Brad King <brad.king at kitware.com> wrote:
> On 10/29/2014 04:27 PM, Jameson Merkow wrote:
> > I am working on adding libssh2 support into cmake
>
> Great!
>
> > change for libssh2_free to libssh2_free2 in ssh.c
>
> Try building against a system-installed curl by enabling
> CMAKE_USE_SYSTEM_CURL. That should be much more recent
> than the version that comes in CMake and may have fixed
> some problems.
>
> I have been working slowly toward updating the version
> of curl that comes in our source tree but it is not ready
> yet.
>
> -Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141031/f44e3486/attachment.html>
More information about the cmake-developers
mailing list