Merge pull request #2949 from zfields/patch-1

[cmake] Propagate public headers
This commit is contained in:
Manuel Pégourié-Gonnard 2020-01-30 09:53:16 +01:00 committed by GitHub
commit d020bfc396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -101,6 +101,8 @@ Changes
= mbed TLS 2.19.1 branch released 2019-09-16
Features
* Declare include headers as PUBLIC to propagate to CMake project consumers
Contributed by Zachary J. Fields in PR #2949.
* Add nss_keylog to ssl_client2 and ssl_server2, enabling easier analysis of
TLS sessions with tools like Wireshark.

View File

@ -1,5 +1,11 @@
option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON)
# Declare include headers as PUBLIC to propogate to project consumers
target_include_directories(
mbedtls
PUBLIC ${CMAKE_CURRENT_LIST_DIR}
)
if(INSTALL_MBEDTLS_HEADERS)
file(GLOB headers "mbedtls/*.h")