curl/CMake
Daniel Stenberg 14d5589032
OtherTests.cmake: check for cross-compile, not for toolchain
Build systems like vcpkg alway sets `CMAKE_TOOLCHAIN_FILE` so it should
not be used as a sign that this is a cross-compile.

Also indented the function correctly.

Reported-by: Philip Chan
Fixes #9921
Closes #9923
2022-11-16 16:05:44 +01:00
..
Platforms lib: sync guard for Curl_getaddrinfo_ex() definition and use 2022-11-01 22:40:36 +00:00
cmake_uninstall.cmake.in
CMakeConfigurableFile.in
curl-config.cmake.in
CurlSymbolHiding.cmake
CurlTests.c cmake: delete duplicate HAVE_GETADDRINFO test 2022-10-14 17:31:19 +00:00
FindBearSSL.cmake
FindBrotli.cmake
FindCARES.cmake
FindGSS.cmake
FindLibPSL.cmake
FindLibSSH2.cmake
FindMbedTLS.cmake
FindMSH3.cmake
FindNGHTTP2.cmake
FindNGHTTP3.cmake
FindNGTCP2.cmake cmake: support ngtcp2 boringssl backend 2022-07-05 10:09:40 +02:00
FindNSS.cmake
FindQUICHE.cmake
FindWolfSSL.cmake
FindZstd.cmake
Macros.cmake
OtherTests.cmake OtherTests.cmake: check for cross-compile, not for toolchain 2022-11-16 16:05:44 +01:00
Utilities.cmake