1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00
curl/CMake
Jakub Zakrzewski be17f298ff cmake: avoid linking executable for some tests with cmake 3.6+
With CMAKE_TRY_COMPILE_TARGET_TYPE set to STATIC_LIBRARY, the try_compile()
(which is used by check_c_source_compiles()) will build static library
instead of executable. This avoids linking additional libraries in and thus
speeds up those checks a little.

This commit also avoids #3743 (GSSAPI build errors) on itself with cmake
3.6 or above. That issue was fixed separately for all versions.

Ref: #3744
2019-04-10 19:12:28 +02:00
..
Platforms CMake: remove redundant and old end-of-block syntax 2018-07-09 23:32:57 +02:00
cmake_uninstall.cmake.in CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
CMakeConfigurableFile.in whitespace fixes 2018-09-23 22:24:02 +00:00
curl-config.cmake.in cmake: uniform ZLIB to use USE_ variable and clean curl-config.cmake.in 2018-10-29 17:10:31 +01:00
CurlSymbolHiding.cmake CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
CurlTests.c cmake: added checks for HAVE_VARIADIC_MACROS_C99 and HAVE_VARIADIC_MACROS_GCC 2019-01-11 22:48:54 +03:00
FindBrotli.cmake cmake: add support for brotli 2018-03-19 08:28:32 +01:00
FindCARES.cmake CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
FindGSS.cmake CMake: fix MIT/Heimdal Kerberos detection 2018-11-29 02:05:21 -05:00
FindLibSSH2.cmake CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
FindMbedTLS.cmake CMake: Add mbedTLS support 2017-03-05 14:42:53 +01:00
FindNGHTTP2.cmake CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
Macros.cmake CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
OtherTests.cmake cmake: avoid linking executable for some tests with cmake 3.6+ 2019-04-10 19:12:28 +02:00
Utilities.cmake CMake: Remove unused 'output_var' from 'collect_true' 2018-07-06 09:35:28 +02:00