I did this
I tried running CMake version 3.5.1 to build the latest Curl release (7.87.0).
Since CMakeLists.txt contains the line cmake_minimum_required(VERSION 3.2...3.16 FATAL_ERROR) I didn't expect the command to fail with my version of CMake. Unfortunately the usage of GREATER_EQUAL and GREATER_EQUAL that became available only in CMake 3.7 led to the following error:
CMake Error at CMakeLists.txt:1093 (if):
if given arguments:
"NOT" "MSVC" "OR" "(" "MSVC_VERSION" "GREATER_EQUAL" "1900" ")"
Unknown arguments specified
Called from: [1] /curl-7.87.0/CMakeLists.txt
-- Configuring incomplete, errors occurred!
Somewhat related: #9237
I expected the following
Successful run of CMake or a warning about incompatible version.
curl/libcurl version
7.87.0
operating system
I was running a container built from Ubuntu 16.04.5 LTS.
I did this
I tried running CMake version 3.5.1 to build the latest Curl release (7.87.0).
Since
CMakeLists.txtcontains the linecmake_minimum_required(VERSION 3.2...3.16 FATAL_ERROR)I didn't expect the command to fail with my version of CMake. Unfortunately the usage ofGREATER_EQUALandGREATER_EQUALthat became available only in CMake 3.7 led to the following error:Somewhat related: #9237
I expected the following
Successful run of CMake or a warning about incompatible version.
curl/libcurl version
7.87.0
operating system
I was running a container built from Ubuntu 16.04.5 LTS.