-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Switch to pkg_search_module for SSL library lookup
OpenSSL comes with pkg-config information in all supported versions. MbedTLS only has pkg-config since version 3.0. In any case pkg-config is usually the preferable way to look up library information, since that gives us a much more standardized lookup instead of find_package. Fedora maintainer did go a special way by not letting mbedtls 3.x conflict with mbedtls 2.x or even other 3.x versions, so this complicates the lookup further. Signed-off-by: Frank Lichtenheld <[email protected]>
- Loading branch information
1 parent
d6798c3
commit b130db4
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,11 @@ | |
"lz4", | ||
"openssl", | ||
"tap-windows6", | ||
"xxhash" | ||
"xxhash", | ||
{ | ||
"name": "pkgconf", | ||
"host": true | ||
} | ||
] | ||
} | ||
|