From efc8298f664ee049595139b05bb2cde06e234b61 Mon Sep 17 00:00:00 2001 From: AravindanC Date: Thu, 25 Jul 2024 18:00:08 -0700 Subject: [PATCH] SWDEV-396819 Update File Permissions for other binary files Change-Id: I085b482e87a016c82b339e2efe67e3d1b5a7af21 [ROCm/rdc commit: 9155768fe7833031d100ab7f2e1223e62c36906c] --- projects/rdc/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/projects/rdc/CMakeLists.txt b/projects/rdc/CMakeLists.txt index 2260390001..20361610b6 100755 --- a/projects/rdc/CMakeLists.txt +++ b/projects/rdc/CMakeLists.txt @@ -276,9 +276,12 @@ if(BUILD_STANDALONE) COMPONENT ${SERVER_COMPONENT}) endif() # Also include dev setup for people do not want to build grpc - install(DIRECTORY ${GRPC_ROOT}/bin - USE_SOURCE_PERMISSIONS - DESTINATION ${CMAKE_INSTALL_LIBDIR}/${RDC}/grpc + file(GLOB install_bin_files "${GRPC_ROOT}/bin/*") + foreach(ITEM ${install_bin_files}) + LIST( APPEND bin_files "${ITEM}" ) + endforeach() + INSTALL( FILES ${bin_files} + DESTINATION ${CMAKE_INSTALL_LIBDIR}/${RDC}/grpc/bin COMPONENT ${SERVER_COMPONENT}) install(DIRECTORY ${GRPC_ROOT}/include