Subject: Re: build libssh2 with openssl

Re: build libssh2 with openssl

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 15 Feb 2019 14:17:04 +0000

Micka wrote:
> cmake -DOPENSSL_INCLUDE_DIR="..\..\..\OpenSSL\source\vc-win32\include"
> -DOPENSSL_ROOT_DIR="..\..\..\OpenSSL\source\vc-win32"

I guess (only guess! I don't know cmake so well) the above are fine.

> -DOPENSSL_SSL_LIBRARY="..\..\..\OpenSSL\source\vc-win32\lib"
> -DOPENSSL_CRYPTO_LIBRARY="..\..\..\OpenSSL\source\vc-win32\lib"

I think these are wrong. I think you should specify the actual .lib
files above, not just the directory.

//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2019-02-15