summaryrefslogtreecommitdiffstats
path: root/DartConfig.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-08-13 18:02:07 (GMT)
committerBrad King <brad.king@kitware.com>2024-08-13 18:14:10 (GMT)
commit1a74f95656e9c66632ff9f5cc18b027852311340 (patch)
tree0bdd6cc530d2e3b425e63a42c0c1eb8fd2783f99 /DartConfig.cmake
parentd88682dff6bf053e5bbdc10accf5d6825303e656 (diff)
downloadCMake-1a74f95656e9c66632ff9f5cc18b027852311340.zip
CMake-1a74f95656e9c66632ff9f5cc18b027852311340.tar.gz
CMake-1a74f95656e9c66632ff9f5cc18b027852311340.tar.bz2
file(DOWNLOAD): Fix User-Agent to use run-time curl version
If CMake is linked to a system-provided curl shared library, the version at run-time may not match the `LIBCURL_VERSION` at build time. Look up the run-time curl version to populate the User-Agent string. This is particularly important since commit d3cbee99e3 (macOS: Prefer building with system-provided curl, 2024-05-09, v3.30.0-rc1~130^2~1) switched to building our official binaries on macOS against the system provided curl shared library. Fixes: #26209
Diffstat (limited to 'DartConfig.cmake')
0 files changed, 0 insertions, 0 deletions