mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-27 12:16:07 +00:00
Propagate public headers
Declare include headers as `PUBLIC` to propagate to project consumers
This commit is contained in:
parent
5f0ccd5a3c
commit
2347a34b75
@ -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