From 2347a34b752c18add1a2a10a907e0e414886d4e7 Mon Sep 17 00:00:00 2001 From: "Zachary J. Fields" Date: Tue, 3 Dec 2019 16:19:53 -0600 Subject: [PATCH 1/2] Propagate public headers Declare include headers as `PUBLIC` to propagate to project consumers --- include/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index c2f2bd4e6..a3ee3e438 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -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") From 96134effeadb9ca16ea2be16d0033d6ecdfa8885 Mon Sep 17 00:00:00 2001 From: "Zachary J. Fields" Date: Mon, 27 Jan 2020 16:12:02 -0600 Subject: [PATCH 2/2] Update ChangeLog --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index ab8267f42..c6210d139 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ Bugfix = 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.