________________________________________ From: curl-library <[email protected]> on behalf of myLC--- via curl-library <[email protected]> Sent: 21 September 2018 11:33 To: [email protected] Cc: [email protected] Subject: Minimum requirement: cmake version 3.4
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) --- Newer CMake versions are easy to get / build. The "offender" is one line now but modern CMake features are worth it, so the pressure for update will grow. Additionally have you checked what happens to the exported config file after your change? ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
