diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2018-07-18 02:31:51 +0300 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-10-01 16:16:29 -0400 |
commit | 69328490fc91bfa00a6a90da84239524b01f5527 (patch) | |
tree | c5c4a5f819da86598b6a25354a1bffbdf07edad5 /docs/examples/ephiperfifo.c | |
parent | b8ab30d3096f65683571eff4ba474ceba592a480 (diff) |
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
Diffstat (limited to 'docs/examples/ephiperfifo.c')
0 files changed, 0 insertions, 0 deletions