curl/CMake
Viktor Szakats c2889a7b41
cmake: more syntax tidy-up
- quote string literals.
  In the hope it improves syntax-highlighting and readability.

- use lowercase, underscore-prefixed local var names.
  As a hint for scope, to help readability.

- prefer `pkg_search_module` (over `pkg_check_modules`).
  They are the same, but `pkg_search_module` stops searching
  at the first hit.

- more `IN LISTS` in `foreach()`.

- OtherTests.cmake: clear `CMAKE_EXTRA_INCLUDE_FILES` after use.

- add `PROJECT_LABEL` for http/client and unit test targets.

- sync `Find*` module comments and formatting.

- drop a few local variables.

- drop bogus `CARES_LIBRARIES` from comment.

- unquote numeric literal.

Follow-up to acbc6b703f #14197
Closes #14388
2024-08-07 23:41:27 +02:00
..
Platforms build: tidy up __builtin_available feature checks (Apple) 2024-07-10 11:42:46 +02:00
cmake_uninstall.cmake.in cmake: tidy-ups 2024-08-03 20:49:15 +02:00
CMakeConfigurableFile.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.cmake.in cmake: bring curl-config.cmake closer to FindCURL 2024-06-13 11:17:32 +02:00
CurlSymbolHiding.cmake cmake: tidy-ups 2024-08-03 20:49:15 +02:00
CurlTests.c cmake: tidy-ups 2024-08-03 20:49:15 +02:00
FindBearSSL.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindBrotli.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindCARES.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindGSS.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindLibPSL.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindLibSSH2.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindMbedTLS.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindMSH3.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindNettle.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindNGHTTP2.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindNGHTTP3.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindNGTCP2.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindQUICHE.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindWolfSSL.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
FindZstd.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
Macros.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
OtherTests.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00
PickyWarnings.cmake tidy-up: OS names 2024-08-04 19:17:45 +02:00
Utilities.cmake cmake: more syntax tidy-up 2024-08-07 23:41:27 +02:00