Re: Building cURL with OpenSSL support from CMake
Date: Wed, 29 Apr 2020 22:52:37 +0300
ср, 29 апр. 2020 г., 21:58 Bo Lu via curl-library <curl-library_at_cool.haxx.se
>:
> Hi All,
>
> I have a question with regard to building cURL with OpenSSL support. I
> am trying to setup an automated build system in CMake where all
> dependencies of my project are compiled from source through CMake and
> made available for other dependencies. Because of the project is
> cross-platform and the build process will be run on continuous
> integration agents, I wanted to avoid having a pre-built dependency
> script to install dependencies ahead of time. All other dependencies
> have worked well so far, but I am banging my head against a wall when
> it comes to OpenSSL for cURL.
>
> Basically, because cURL CMake scripts uses `find_package(OpenSSL)`
> without any options for the user to enter an alternate path.
>
It's not correct statement.
Could you please check documentation here
https://cmake.org/cmake/help/v3.17/module/FindOpenSSL.html
Search for OPENSSL_ROOT_DIR.
HTH,
Sergey.
>
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-04-29