mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:01:41 +03:00
cmake: verify minimum CMake version in curl-config.cmake
Show a message if the CMake version is lower than that when consuming
libcurl via the CMake config.
The minimum CMake version on consumption is for now the same as
the minimum required (v3.7) to build curl itself.
Ref: https://cmake.org/cmake/help/v3.7/variable/CMAKE_MINIMUM_REQUIRED_VERSION.html
Ref: #18704 (discussion)
Follow-up to 16f073ef49 #16973
Closes #19776
This commit is contained in:
parent
a2ebae61ca
commit
c421c3e325
2 changed files with 6 additions and 0 deletions
|
|
@ -2309,6 +2309,7 @@ if(NOT CURL_DISABLE_INSTALL)
|
|||
${_generated_version_config}")
|
||||
|
||||
# Consumed custom variables:
|
||||
# CMAKE_MINIMUM_REQUIRED_VERSION
|
||||
# CURLVERSION
|
||||
# LIBCURL_PC_LIBS_PRIVATE_LIST
|
||||
# LIB_NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue