Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install the LICENSE file to ${CMAKE_INSTALL_DOCDIR} #377

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

dgaliffiAMD
Copy link
Collaborator

ie., {INSTALL_PREFIX}/share/doc/omnitrace/LICENSE
Internal ticket: SWDEV-466385

ie., {INSTALL_PREFIX}/share/doc/omnitrace/LICENSE
Internal ticket: SWDEV-466385

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
@dgaliffiAMD
Copy link
Collaborator Author

A missing requirement from dev-ops / packaging.

${PROJECT_SOURCE_DIR}/LICENSE
DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT setup)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these 2 lines are also required along with the above changes.

set ( CPACK_RESOURCE_FILE_LICENSE ${PROJECT_SOURCE_DIR}/LICENSE )
set ( CPACK_RPM_PACKAGE_LICENSE "MIT" )

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @nunnikri .
CPACK_RESOURCE_FILE_LICENSE is already set in cmake/ConfigCPack.cmake, but I added CPACK_RPM_PACKAGE_LICENSE.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
@dgaliffiAMD dgaliffiAMD merged commit 702da3a into ROCm:main Sep 5, 2024
4 of 43 checks passed
@dgaliffiAMD dgaliffiAMD deleted the install-license branch September 5, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants