mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 15:15:47 +01: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
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
|
||||
|
||||
endif(INSTALL_POLARSSL_HEADERS)
|
||||
|
Loading…
Reference in New Issue
Block a user