[rocprofiler-systems] Update install path for examples (#2625)

* Update install path for examples to `share/rocprofiler-systems/examples`

----

Co-authored-by: Kian Cossettini <Kian.Cossettini@amd.com>
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
Kian Cossettini
2026-01-15 21:51:16 -05:00
committed by GitHub
orang tua 8760fb4976
melakukan 9f014db6a4
20 mengubah file dengan 215 tambahan dan 111 penghapusan
@@ -138,6 +138,14 @@ if(hip_FOUND AND rccl_FOUND)
add_dependencies(rccl-tests::${_EXE_NAME} copy-${_EXE_NAME})
list(APPEND _RCCL_TEST_TARGETS "rccl-tests::${_EXE_NAME}")
if(ROCPROFSYS_INSTALL_EXAMPLES)
install(
PROGRAMS ${_EXE_DEST_PATH}
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/rocprofiler-systems/examples
COMPONENT rocprofiler-systems-examples
)
endif()
endforeach()
set(RCCL_TEST_TARGETS "${_RCCL_TEST_TARGETS}" CACHE INTERNAL "rccl-test targets")