3rdparty: Fix Everest header installation

This commit is contained in:
Christoph M. Wintersteiger 2019-04-08 14:08:02 +01:00 committed by Janos Follath
parent ec70771a71
commit d64e1e1e1c

View file

@ -16,11 +16,11 @@ if(${result} EQUAL 0)
if(INSTALL_MBEDTLS_HEADERS)
file(GLOB_RECURSE headers "${CMAKE_CURRENT_SOURCE_DIR}/include/everest/*.h")
install(FILES ${headers}
DESTINATION include/everest
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
install(DIRECTORY include/everest
DESTINATION include
FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
FILES_MATCHING PATTERN "*.h")
endif(INSTALL_MBEDTLS_HEADERS)