summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* curl: Restore build within CMake after update to 8.0.1Brad King2023-03-201-3/+7
| | | | | | Restore changes from commit 2be5a7de4e (Build: Use imported target `ZLIB::ZLIB` instead of variables, 2022-08-21, v3.25.0-rc1~97^2~10) that were undone by the update to curl 8.0.1. The code was moved.
* Merge branch 'upstream-curl' into update-curlBrad King2023-03-201-66/+84
| | | | | * upstream-curl: curl 2023-03-20 (b16d1fa8)
* Merge branch 'upstream-curl' into update-curlBrad King2023-02-211-27/+7
| | | | | * upstream-curl: curl 2023-02-20 (046209e5)
* Merge branch 'upstream-curl' into update-curlBrad King2023-01-271-8/+8
| | | | | * upstream-curl: curl 2022-12-21 (c12fb3dd)
* curl: Set build options the way we need for CMakeBrad King2022-10-311-0/+10
|
* Merge branch 'upstream-curl' into update-curlBrad King2022-10-311-133/+166
| | | | | * upstream-curl: curl 2022-10-26 (cd95ee9f)
* Build: Use imported target `ZLIB::ZLIB` instead of variablesAlex Turbov2022-09-221-14/+3
|
* MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command linesDubach, Joev2022-07-271-0/+2
| | | | Fixes: #23772
* Utilities: Activate POSIX APIs even without compiler extensionsBrad King2022-06-041-0/+14
| | | | | | | | | | | Compile some third-party libraries with preprocessor definitions that activate POSIX APIs even when compiler extensions are not enabled. We already do this in libuv, inherited from the upstream buildsystem. This extends commit f034b0f663 (CMake compilation: do not use compiler extensions, 2020-03-14, v3.18.0-rc1~494^2). Issue: #20454
* Merge branch 'upstream-curl' into update-curlBrad King2022-04-281-11/+12
| | | | | * upstream-curl: curl 2022-04-27 (1669b17d)
* Utilities: Suppress warnings in third-party code with IBMClangAaron Liu2022-01-271-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2022-01-071-15/+18
|
* Merge branch 'upstream-curl' into update-curlBrad King2022-01-071-66/+86
| | | | | * upstream-curl: curl 2022-01-05 (801bd513)
* LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* curl: Set build options the way we need for CMakeBrad King2021-09-151-0/+12
|
* Merge branch 'upstream-curl' into update-curlBrad King2021-09-151-96/+85
| | | | | * upstream-curl: curl 2021-09-14 (8e82f2a0)
* Merge branch 'upstream-curl' into update-curlBrad King2021-05-271-43/+87
| | | | | * upstream-curl: curl 2021-05-26 (6b951a69)
* Utilities: Suppress warnings in third-party code with NVHPCBrad King2021-04-201-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2021-02-031-0/+2
|
* Merge branch 'upstream-curl' into update-curlBrad King2021-02-031-2/+8
| | | | | * upstream-curl: curl 2021-02-03 (2f33be81)
* Utilities: Suppress warnings in third-party code when using IntelLLVMBrad King2021-01-281-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2020-12-111-1/+3
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-12-091-49/+48
| | | | | * upstream-curl: curl 2020-12-09 (e0528597)
* curl: Set build options the way we need for CMakeBrad King2020-08-191-1/+4
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-08-191-11/+46
| | | | | * upstream-curl: curl 2020-08-19 (9d954e49)
* curl: Set build options the way we need for CMakeBrad King2020-06-241-0/+6
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-06-241-21/+119
| | | | | * upstream-curl: curl 2020-06-23 (e9db32a0)
* curl: Use KWIML to get integer type sizesBrad King2020-06-021-10/+0
|
* curl: Enable HTTP/2 support by using nghttp2Brad King2020-04-031-0/+1
|
* curl: Set build options the way we need for CMakeBrad King2020-03-041-0/+7
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-03-041-35/+94
| | | | | * upstream-curl: curl 2020-03-04 (b8d13668)
* OpenSSL: Issue an error if OpenSSL is not foundKyle Edwards2019-07-181-1/+6
| | | | | | | | | | | | | | When building with the built-in Curl, CMAKE_USE_OPENSSL is only set to ON by default if an OpenSSL installation is detected. However, this can cause the user to mistakenly build without OpenSSL support if OpenSSL is not installed, because CMAKE_USE_OPENSSL is set to OFF in that case. Always set CMAKE_USE_OPENSSL to ON by default on systems where it could be available, skipping the initial detection, resulting in an error when we try to use OpenSSL later on. Detect this error and advise the user to either install OpenSSL or set CMAKE_USE_OPENSSL to OFF. Co-Authored-by: Brad King <brad.king@kitware.com>
* curl: Update build within CMake to account for 7.65 changesBrad King2019-05-221-2/+5
|
* Merge branch 'upstream-curl' into update-curlBrad King2019-05-221-27/+39
| | | | | * upstream-curl: curl 2019-05-22 (885ce314)
* Utilities: Suppress warnings in third-party code when using XLClangBrad King2019-02-251-1/+1
|
* Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-211-1/+1
| | | | | | In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
* curl: do not disable IPv6 supportRechi Rechi2019-01-101-1/+1
| | | | Allow curl's detection of IPv6 to proceed when building in CMake.
* Merge topic 'update-curl'Brad King2018-11-051-46/+47
|\ | | | | | | | | | | | | | | | | | | | | | | c1ad5118de curl: backport upstream fix to 7.62.0 regression 03bf934fbe curl: Modernize tiny test code used for build inside CMake 2b3c1bb9b0 curl: Update build within CMake to account for 7.62 changes 636bcefeab Merge branch 'upstream-curl' into update-curl 9835e90750 curl 2018-10-30 (19667715) 9c6574795c curl: Update script to get curl 7.62.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2550
| * curl: Modernize tiny test code used for build inside CMakeBrad King2018-11-011-3/+3
| | | | | | | | | | Drop unused code. Report the error message on failure. Format the source file using clang-format.
| * curl: Update build within CMake to account for 7.62 changesBrad King2018-10-311-0/+2
| |
| * Merge branch 'upstream-curl' into update-curlBrad King2018-10-311-44/+43
| | | | | | | | | | * upstream-curl: curl 2018-10-30 (19667715)
* | curl: Do not call cmake_minimum_required inside CMake itselfBrad King2018-10-251-1/+0
|/ | | | Re-use the requirements from the top-level.
* Tests: Add missing BUILD_TESTING conditionsBrad King2018-10-241-1/+1
| | | | | | We should not call `add_test` unless `BUILD_TESTING` is enabled. Fixes: #18500
* curl: Update build within CMake to account for 7.61 changesBrad King2018-10-221-1/+1
| | | | | | | The_CURL_STATICLIB option was replaced by BUILD_SHARED_LIBS. Drop our own CURL_STATICLIB compile definition because it is now provided by curl's usage requirements.
* curl: Backport to work with CMake 3.1 againBrad King2018-10-221-2/+3
| | | | | | Curl 7.61.1 requires CMake 3.4 to build from source and also exposes a dependency on OpenSSL imported targets. Revert that part of the changes imported from curl upstream.
* Merge branch 'upstream-curl' into update-curlBrad King2018-10-221-134/+140
| | | | | * upstream-curl: curl 2018-09-04 (432eb5f5)
* Merge branch 'upstream-curl' into update-curlBrad King2018-05-181-11/+23
| | | | | * upstream-curl: curl 2018-05-15 (cb013830)
* Merge branch 'upstream-curl' into update-curlBrad King2018-01-241-3/+28
| | | | | * upstream-curl: curl 2018-01-23 (d6c21c8e)
* curl: Update build within CMake to account for 7.56 changesBrad King2017-10-101-0/+4
|
* Merge branch 'upstream-curl' into update-curlBrad King2017-10-101-82/+103
| | | | | * upstream-curl: curl 2017-10-04 (3ea76790)