1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00
curl/CMake
Tobias Hieta fd5f35ef0b
cmake: don't pass -fvisibility=hidden to clang-cl on Windows
When using clang-cl on windows -fvisibility=hidden is not an known
argument. Instead it behaves exactly like MSVC in this case. So let's
make sure we take that path.

In CMake clang-cl sets both CMAKE_C_COMPILER_ID=clang and MSVC get's
defined since clang-cl is basically a MSVC emulator. So guarding like we
do in this patch seems logical.

Reviewed-by: Jakub Zakrzewski
Closes #6194
2020-11-10 23:40:33 +01:00
..
Platforms curl.se: new home 2020-11-04 23:59:47 +01:00
cmake_uninstall.cmake.in curl.se: new home 2020-11-04 23:59:47 +01:00
CMakeConfigurableFile.in curl.se: new home 2020-11-04 23:59:47 +01:00
curl-config.cmake.in curl.se: new home 2020-11-04 23:59:47 +01:00
CurlSymbolHiding.cmake cmake: don't pass -fvisibility=hidden to clang-cl on Windows 2020-11-10 23:40:33 +01:00
CurlTests.c copyright: fix year ranges 2020-11-05 08:22:10 +01:00
FindBearSSL.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindBrotli.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindCARES.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindGSS.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindLibSSH2.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindMbedTLS.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindNGHTTP2.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindNGHTTP3.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindNGTCP2.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindNSS.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindQUICHE.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindWolfSSL.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
FindZstd.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
Macros.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
OtherTests.cmake curl.se: new home 2020-11-04 23:59:47 +01:00
Utilities.cmake curl.se: new home 2020-11-04 23:59:47 +01:00