mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Merge pull request #2949 from zfields/patch-1
[cmake] Propagate public headers
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user