mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:05:36 +01:00
Merge pull request #2949 from zfields/patch-1
[cmake] Propagate public headers
This commit is contained in:
commit
d020bfc396
@ -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.
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user