Repository navigation
Conversation
pkg-config to search for libgcrypt, mbedTLS, wolfSSLpkg-config to search for Libgcrypt, mbedTLS, wolfSSL
|
Not a clear win.
|
1b334ba to
404e4a5
Compare
0ba19a8 to
5c7dff3
Compare
Also: - sync up the content of the three detection modules. - set `MBEDTLS_INCLUDE_DIRS` for mbedTLS - stop marking `MBEDTLS_LIBRARIES` as advanced. - formatting in wolfSSL. Closes #xxxx
This reverts commit ca3e107.
The Find module puts this in the `DIRS` var (not `DIR`, which is specific to find_header())`.
6614f3b to
8d1933a
Compare
|
It's complicated: The common CMake pattern is to use To better use To do this we must decide if we want to check Using it first most likely breaks manual configuration via Using it second bumps into a bunch of other issues that I haven't figured out yet. All these methods steer the logic away from the "common" way, which might potentially cause more harm than good. Unless understanding all the possible angles in advance. An extra complication is |
- sync code between Find modules. - wolfssl: replace `pkg-config` hints with native detection. - libgcrypt, mbedtls: add `pkg-config`-based native detection. - libgcrypt: add version detection. - limit `pkg-config` use for `UNIX`, vcpkg, and non-cross MinGW builds, and builds with no manual customization via `*_INCLUDE_DIR` or `*_LIBRARY`. - replace and sync Find module header comments. - ci: delete manual mbedTLS config that's now redundant. Based on similar work done in curl. Second attempt at #1420 Closes #1445
Also:
MBEDTLS_INCLUDE_DIRSfor mbedTLS.MBEDTLS_LIBRARIESas advanced.Find*detection modules.Findwolfssl.cmake.Closes #1420