Propagate public headers

Declare include headers as `PUBLIC` to propagate to project consumers
This commit is contained in:
Zachary J. Fields 2019-12-03 16:19:53 -06:00 committed by GitHub
parent 5f0ccd5a3c
commit 2347a34b75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")