From d64e1e1e1ce632b2f013ee610e907f03ad803c0f Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Mon, 8 Apr 2019 14:08:02 +0100 Subject: [PATCH] 3rdparty: Fix Everest header installation --- 3rdparty/everest/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/3rdparty/everest/CMakeLists.txt b/3rdparty/everest/CMakeLists.txt index babd18314..3eff1c7df 100644 --- a/3rdparty/everest/CMakeLists.txt +++ b/3rdparty/everest/CMakeLists.txt @@ -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)