1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-10-19 02:23:41 +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:
Anton Matkin
2025-08-29 08:04:35 +02:00
parent 34b3bb3a3f
commit bb7b2b765f

View File

@@ -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.