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 12:49:27 +0300

пт, 21 сент. 2018 г. в 12:35, myLC--- via curl-library
<curl-library_at_cool.haxx.se>:
>
> This is not installed on many systems. I managed to build
> curl anyhow, by simple changing two lines:
>
>
> cmake_minimum_required(VERSION 3.4 FATAL_ERROR)
> => cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
>
> list(APPEND CURL_LIBS OpenSSL::SSL OpenSSL::Crypto)
> => list(APPEND CURL_LIBS ssl crypto)
>
>
> Are you sure, this is worth the hassle?
> Alternative: if/else for version <> 3.4
> (as the 'offender' is a SINGLE LINE)
>

What system do you using?
Why are you using CMake to build curl, if it not installed on many systems?
If you managed to build curl from sources, what stops you from
building CMake from source?

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