mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-10 22:05:37 +00:00
- Added option to prevent installation of header files
This commit is contained in:
parent
55d3fd9aff
commit
9bc2f320b8
|
@ -1,5 +1,11 @@
|
||||||
FILE(GLOB headers "polarssl/*.h")
|
option(INSTALL_POLARSSL_HEADERS "Install PolarSSL headers." ON)
|
||||||
|
|
||||||
INSTALL(FILES ${headers}
|
if(INSTALL_POLARSSL_HEADERS)
|
||||||
|
|
||||||
|
file(GLOB headers "polarssl/*.h")
|
||||||
|
|
||||||
|
install(FILES ${headers}
|
||||||
DESTINATION include/polarssl
|
DESTINATION include/polarssl
|
||||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
||||||
|
|
||||||
|
endif(INSTALL_POLARSSL_HEADERS)
|
||||||
|
|
Loading…
Reference in a new issue