Repository navigation
Conversation
If you use these variables, replace them like so: - `MBEDTLS_INCLUDE_DIRS` -> `MBEDTLS_INCLUDE_DIR` - `WolfSSL_INCLUDE_DIR` -> `WOLFSSL_INCLUDE_DIR` - `WolfSSL_LIBRARY` -> `WOLFSSL_LIBRARY` - `Zstd_INCLUDE_DIR` -> `ZSTD_INCLUDE_DIR` - `Zstd_LIBRARY` -> `ZSTD_LIBRARY` Follow-up to 9fbda4c curl#14574 Follow-up to db39c66 curl#14542
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The deprecated aliases are removed consistently, with no remaining repository references or functional regressions identified.
Review effort: Balanced
Findings: None
What changed in this PR
Removes expired CMake compatibility aliases for deprecated dependency configuration variables.
Changes:
- Drops legacy variable mappings for mbedTLS, wolfSSL, and zstd.
- Leaves the documented uppercase variables as the supported interface.
| File | Description |
|---|---|
CMake/FindMbedTLS.cmake |
Removes MBEDTLS_INCLUDE_DIRS compatibility handling. |
CMake/FindWolfSSL.cmake |
Removes mixed-case wolfSSL aliases. |
CMake/FindZstd.cmake |
Removes mixed-case zstd aliases. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you use these variables, replace them like so:
MBEDTLS_INCLUDE_DIRS->MBEDTLS_INCLUDE_DIRWolfSSL_INCLUDE_DIR->WOLFSSL_INCLUDE_DIRWolfSSL_LIBRARY->WOLFSSL_LIBRARYZstd_INCLUDE_DIR->ZSTD_INCLUDE_DIRZstd_LIBRARY->ZSTD_LIBRARYThey were deprecated two years ago in curl 8.10.0.
Follow-up to 9fbda4c #14574
Follow-up to db39c66 #14542
This also fixes weird behavior of the compatibility logic when
re-run on an existing configuration.