Paul Bakker | 9bc2f32 | 2011-12-11 11:25:30 +0000 | [diff] [blame] | 1 | option(INSTALL_POLARSSL_HEADERS "Install PolarSSL headers." ON) |
Paul Bakker | 547f73d | 2011-01-05 15:07:54 +0000 | [diff] [blame] | 2 | |
Paul Bakker | 9bc2f32 | 2011-12-11 11:25:30 +0000 | [diff] [blame] | 3 | if(INSTALL_POLARSSL_HEADERS) |
| 4 | |
| 5 | file(GLOB headers "polarssl/*.h") |
| 6 | |
| 7 | install(FILES ${headers} |
Paul Bakker | 547f73d | 2011-01-05 15:07:54 +0000 | [diff] [blame] | 8 | DESTINATION include/polarssl |
| 9 | PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) |
Paul Bakker | 9bc2f32 | 2011-12-11 11:25:30 +0000 | [diff] [blame] | 10 | |
| 11 | endif(INSTALL_POLARSSL_HEADERS) |