SWDEV-448381 - CPACK dependency list should be comma separated (#61)

* SWDEV-448381 - CPACK dependency list should be comma separated

* Remove redundant code and update the dependency list in first place

* Update cmake/rocprofiler_register_config_packaging.cmake

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Esse commit está contido em:
raramakreJonathan R. Madsen authored and GitHub committed 2024-04-25 15:55:14 -05:00
1 pai 2b777139d3
commit dd231244ee
1 file changed
+2
@@ -97,6 +97,8 @@ foreach(COMPONENT_GROUP ${ROCPROFILER_REGISTER_COMPONENT_GROUPS})
if(ROCM_DEP_ROCMCORE OR ROCPROFILER_REGISTER_DEP_ROCMCORE)
list(INSERT _DEP 0 "rocm-core")
endif()
# Dependency list should be separated by comma
string(REPLACE ";" ", " _DEP "${_DEP}")
string(TOUPPER "${COMPONENT_GROUP}" UCOMPONENT)
set(CPACK_DEBIAN_${UCOMPONENT}_PACKAGE_NAME "${PROJECT_NAME}${_SEP}${_NAME}")