iotstack-device-sdk-c/external_libs/mbedtls/include/CMakeLists.txt

12 lines
294 B
CMake
Raw Normal View History

2021-01-22 16:31:40 +08:00
option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON)
if(INSTALL_MBEDTLS_HEADERS)
file(GLOB headers "mbedtls/*.h")
install(FILES ${headers}
DESTINATION include/mbedtls
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
endif(INSTALL_MBEDTLS_HEADERS)