blob: e6dd9f6a01bdd12644005f37947283d8281019a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
mbedtls provides CMake targets:
find_package(MbedTLS CONFIG REQUIRED)
# everything
target_link_libraries(main PRIVATE MbedTLS::mbedtls)
# X.509 certificate manipulation
target_link_libraries(main PRIVATE MbedTLS::mbedx509)
# cryptographic primitives
target_link_libraries(main PRIVATE MbedTLS::mbedcrypto)
mbedtls provides pkg-config modules:
# everything
mbedtls
# X.509 certificate manipulation
mbedx509
# cryptographic primitives
mbedcrypto
|