1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00
curl/CMake
Ruslan Baratov 69328490fc CMake: Improve config installation
Use 'GNUInstallDirs' standard module to set destinations of installed
files.

Use uppercase "CURL" names instead of lowercase "curl" to match standard
'FindCURL.cmake' CMake module:
* https://cmake.org/cmake/help/latest/module/FindCURL.html

Meaning:
* Install 'CURLConfig.cmake' instead of 'curl-config.cmake'
* User should call 'find_package(CURL)' instead of 'find_package(curl)'

Use 'configure_package_config_file' function to generate
'CURLConfig.cmake' file. This will make 'curl-config.cmake.in' template
file smaller and handle components better.  E.g.  current configuration
report no error if user specified unknown components (note: new
configuration expects no components, report error if user will try to
specify any).

Closes https://github.com/curl/curl/pull/2849
2018-10-01 16:16:29 -04: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: Improve config installation 2018-10-01 16:16:29 -04:00
CurlSymbolHiding.cmake CMake: Update scripts to use consistent style 2018-07-17 11:54:07 +02:00
CurlTests.c cmake: fixed comments in compile checks code 2018-05-29 09:13:06 +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: Update scripts to use consistent style 2018-07-17 11:54:07 +02: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: remove redundant and old end-of-block syntax 2018-07-09 23:32:57 +02:00
Utilities.cmake CMake: Remove unused 'output_var' from 'collect_true' 2018-07-06 09:35:28 +02:00