Skip to content

Commit

Permalink
Merge pull request #344 from lawruble13/hotfix/rpm-license-file
Browse files Browse the repository at this point in the history
Hotfix: set RPM license type
  • Loading branch information
lawruble13 authored Jan 21, 2022
2 parents 29da58b + b267a4a commit fb0d3f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ elseif( HIP_RUNTIME STREQUAL "cuda" )
set(CPACK_RPM_PACKAGE_REQUIRES "hip-nvcc >= 3.5.0")
endif( )
set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.md" )
set( CPACK_RPM_PACKAGE_LICENSE "MIT" )

set( CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "\${CPACK_PACKAGING_INSTALL_PREFIX}" "\${CPACK_PACKAGING_INSTALL_PREFIX}/include" "\${CPACK_PACKAGING_INSTALL_PREFIX}/lib" "\${CPACK_PACKAGING_INSTALL_PREFIX}/lib/cmake" )

Expand Down

0 comments on commit fb0d3f8

Please sign in to comment.