Manuel Pégourié-Gonnard | 9014b6f | 2015-01-27 15:44:46 +0000 | [diff] [blame] | 1 | option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON) |
Paul Bakker | 547f73d | 2011-01-05 15:07:54 +0000 | [diff] [blame] | 2 | |
Manuel Pégourié-Gonnard | 9014b6f | 2015-01-27 15:44:46 +0000 | [diff] [blame] | 3 | if(INSTALL_MBEDTLS_HEADERS) |
Paul Bakker | 9bc2f32 | 2011-12-11 11:25:30 +0000 | [diff] [blame] | 4 | |
Manuel Pégourié-Gonnard | 216a183 | 2015-06-25 09:20:03 +0200 | [diff] [blame] | 5 | file(GLOB headers "mbedtls/*.h") |
Paul Bakker | 9bc2f32 | 2011-12-11 11:25:30 +0000 | [diff] [blame] | 6 | |
Manuel Pégourié-Gonnard | 216a183 | 2015-06-25 09:20:03 +0200 | [diff] [blame] | 7 | install(FILES ${headers} |
Manuel Pégourié-Gonnard | 7f80997 | 2015-03-09 17:05:11 +0000 | [diff] [blame] | 8 | DESTINATION include/mbedtls |
Paul Bakker | 547f73d | 2011-01-05 15:07:54 +0000 | [diff] [blame] | 9 | PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) |
Paul Bakker | 9bc2f32 | 2011-12-11 11:25:30 +0000 | [diff] [blame] | 10 | |
Manuel Pégourié-Gonnard | 9014b6f | 2015-01-27 15:44:46 +0000 | [diff] [blame] | 11 | endif(INSTALL_MBEDTLS_HEADERS) |