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}}")