curl/CMake
Viktor Szakats 86f2d8f67f
cmake: set HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID on Windows
`lib/config-win32.h` enables this configuration option unconditionally.
Make it apply to CMake builds as well.

While here, delete a broken check for
`HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID` from `CMakeLists.txt`. This came with
the initial commit [1], but did not include the actual verification code
inside `CMake/CurlTests.c`, so it always failed. A later commit [2]
added a second test, for non-Windows platforms.

Enabling this flag causes test 1056 to fail with CMake builds, as they
do with autotools builds. Let's apply the same solution and ignore the
results here as well.

[1] 4c5307b456
[2] aec7c5a87c

Reviewed-by: Daniel Stenberg
Assisted-by: Marcel Raad

Closes #9726
2022-10-14 19:07:16 +00:00
..
Platforms cmake: set HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID on Windows 2022-10-14 19:07:16 +00:00
cmake_uninstall.cmake.in copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CMakeConfigurableFile.in copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
curl-config.cmake.in copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CurlSymbolHiding.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
CurlTests.c cmake: delete duplicate HAVE_GETADDRINFO test 2022-10-14 17:31:19 +00:00
FindBearSSL.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindBrotli.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindCARES.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindGSS.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindLibPSL.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindLibSSH2.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindMbedTLS.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindMSH3.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindNGHTTP2.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindNGHTTP3.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindNGTCP2.cmake cmake: support ngtcp2 boringssl backend 2022-07-05 10:09:40 +02:00
FindNSS.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindQUICHE.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindWolfSSL.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
FindZstd.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Macros.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
OtherTests.cmake functypes: provide the recv and send arg and return types 2022-09-28 09:06:11 +02:00
Utilities.cmake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00