]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: sync CA bundle/path detection with autotools
authorViktor Szakats <commit@vsz.me>
Sun, 14 Jul 2024 08:26:35 +0000 (10:26 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 16 Jul 2024 09:33:52 +0000 (11:33 +0200)
commitd2ef6255f4a040397d2f40ab7cbf65a203201cd9
treeaf8f75ffd6f0f304b9582771e1d4c1dfad58a7d4
parentd3595c74fab829f07ef44da1b7fc2f5668767020
cmake: sync CA bundle/path detection with autotools

- skip the entire CA logic if no selected TLS backend support CA
  certs/bundles.
  Follow-up to 082bb41311a832ae1b83bb8fe1dfdefcf4e68ea5 #2545

- sync bundle path detection logic with `./configure`.

- fix to not auto-detect CA bundle/path on Windows.

- fix to reflect that BearSSL has CA bundle support.

- show the detected bundle path (as with the cert bundle).

- tidy up CMake syntax, fix typos in comments.

Closes #14182
CMakeLists.txt