mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
Fixed the mbedtls installation cmake: now private headers, which are used in the installation, are included in it too
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
This commit is contained in:
parent
34b3bb3a3f
commit
bb7b2b765f
@ -7,6 +7,12 @@ if(INSTALL_MBEDTLS_HEADERS)
|
||||
install(FILES ${headers}
|
||||
DESTINATION include/mbedtls
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
||||
|
||||
file(GLOB private_headers "mbedtls/private/*.h")
|
||||
|
||||
install(FILES ${private_headers}
|
||||
DESTINATION include/mbedtls/private
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
||||
endif(INSTALL_MBEDTLS_HEADERS)
|
||||
|
||||
# Make mbedtls_config.h available in an out-of-source build. ssl-opt.sh requires it.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user