SWDEV-460492 Update permissions, install target types of executables

Change-Id: I23828d4938ce35f2c27d86654f4e122f8886ec1d
This commit is contained in:
AravindanC
2024-05-23 08:23:14 -07:00
committed by Aravindan Cheruvally
parent db82c5ef62
commit 59230206a3
4 changed files with 14 additions and 14 deletions
+4 -3
View File
@@ -396,10 +396,11 @@ configure_file(
${PROJECT_SOURCE_DIR}/src/core/counters/metrics/derived_counters.xml
${PROJECT_BINARY_DIR}/libexec/rocprofiler/counters/derived_counters.xml COPYONLY)
# instead of Directory install, using each file install for better handling of Permissions
file(GLOB install_files CONFIGURE_DEPENDS "${PROJECT_BINARY_DIR}/libexec/rocprofiler/counters/*.xml")
install(
DIRECTORY ${PROJECT_BINARY_DIR}/libexec/rocprofiler/counters
DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME}
USE_SOURCE_PERMISSIONS
FILES ${install_files}
DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME}/counters
COMPONENT runtime)
# ########################################################################################
+2 -4
View File
@@ -19,9 +19,7 @@ target_link_libraries(rocprofiler_rocsys_fe dl rt stdc++fs)
install(
TARGETS rocprofiler_rocsys_fe
RUNTIME PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT runtime)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT runtime)
# ########################################################################################