mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-23 16:21:00 +03:00
- show platform flags (via curl). - add `LIBSSH2_USE_PKGCONFIG` option to control whether to use `pkg-config` to find dependencies. - set `.pc` names withing the Find modules. - add `mbedcrypto` to `libssh2.pc` only when detected via `pkg-config`. Workaround for older mbedtls versions and non-CMake mbedTLS builds (as of mbedTLS 3.6.2) that don't emit an `mbedcrypto.pc` file. - set header paths relative to the project root (tidy-up). - use `-isystem` for crypto backend and zlib header paths. To match autotools. - sync header path order with autotools. - rename local variables to underscore-lowercase. - minor tidy-ups. Cherry-picked from #1484 Closes #1525