diff options
author | Georg Lutz <georg@georglutz.de> | 2022-07-27 12:11:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-27 19:05:20 (GMT) |
commit | 0b7ae2af0d5318830d59deb9306ad29bce3233c8 (patch) | |
tree | a1e8772e7c6f1419c91ffd69e63d9144d78a7de1 /Help/guide/tutorial/Step7/MathFunctions/MakeTable.cxx | |
parent | 3891b5a06fb98ca3c948e968ca7afee051ec2842 (diff) | |
download | CMake-0b7ae2af0d5318830d59deb9306ad29bce3233c8.zip CMake-0b7ae2af0d5318830d59deb9306ad29bce3233c8.tar.gz CMake-0b7ae2af0d5318830d59deb9306ad29bce3233c8.tar.bz2 |
FindCURL: Fix version string in case of multiple curl installations
On systems where there are two versions of libcurl installed
CURL_VERSION_STRING is always set to the version found by the
`pkg_check_modules(PC_CURL QUIET libcurl)`.
But CURL_VERSION_STRING should match the libs and include paths found by
`find_path` and `find_library` (more specifically the path where the
header is found, because that where the version is parsed from.
So make sure that the version is always parsed from the header file, use
the output of pkg_check_modules only as HINT for find_path /
find_library.
Diffstat (limited to 'Help/guide/tutorial/Step7/MathFunctions/MakeTable.cxx')
0 files changed, 0 insertions, 0 deletions