From e875ffed245c412d181fda7a8b8961f8902ab09f Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Tue, 23 Apr 2024 08:22:31 -0500 Subject: [PATCH] Update rocprofiler_register_config_packaging.cmake [ROCm/rocprofiler-register commit: f18651d9f123ea55590969a9af57b835bfc5d3d9] --- .../cmake/rocprofiler_register_config_packaging.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake b/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake index 99014567ae..d47f53a4ec 100644 --- a/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake +++ b/projects/rocprofiler-register/cmake/rocprofiler_register_config_packaging.cmake @@ -75,6 +75,8 @@ else() set(CPACK_RPM_PACKAGE_REQUIRES "") endif() +set(CPACK_RPM_PACKAGE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") + foreach(COMPONENT_GROUP ${ROCPROFILER_REGISTER_COMPONENT_GROUPS}) set(_SEP "${COMPONENT_SEP_${COMPONENT_GROUP}}") set(_DEP "${COMPONENT_DEP_${COMPONENT_GROUP}}")