curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Minimum requirement: cmake version 3.4

From: Sergei Nikulov via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 21 Sep 2018 18:16:44 +0300

пт, 21 сент. 2018 г. в 17:55, Brad King via curl-library
<curl-library_at_cool.haxx.se>:
>
> On 09/21/2018 10:13 AM, myLC--- via curl-library wrote:
> > Many people are still running Ubuntu 14 LTS or similar "stable
> > releases" (especially in the server area). They will run into
> > problems, because of those two lines. Not all of them will be
> > able/bother to fix it.
> [snip]
> > All it takes for you to defuse this problem, is an if/else around
> > the incriminating line. Then it should build with cmake 3.2 (Ubuntu
> > 14 LTS) again.
>
> Yes, that's the approach I suggested as an alternative to bumping
> the minimum requirement:
>
> https://github.com/curl/curl/issues/2746#issuecomment-405897363
>
> The use of OpenSSL::* imported targets can be conditioned
> on `if(NOT CMAKE_VERSION VERSION_LESS 3.4)`.
>
> -Brad
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

BTW, 14.04 LTS has cmake3 with 3.5.1 version
(https://packages.ubuntu.com/trusty-updates/cmake3)
As well, as RHEL/CentOS 6/7 through EPEL.

So the 3.4 version should not be the problem.

-- 
Best Regards,
Sergei Nikulov
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-21