Skip to content

Commit

Permalink
Remove devel dependency on runtime for static builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Mar 28, 2024
1 parent 0d0dd9e commit b6d2aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ macro(rocm_create_package)
"${CPACK_RPM_DEVEL_PACKAGE_NAME} >= ${CPACK_PACKAGE_VERSION}"
)
endif()
if(PARSE_HEADER_ONLY)
if(PARSE_HEADER_ONLY OR NOT BUILD_SHARED_LIBS)
rocm_join_if_set(", "
CPACK_DEBIAN_DEVEL_PACKAGE_PROVIDES
CPACK_DEBIAN_PACKAGE_PROVIDES
Expand Down

0 comments on commit b6d2aab

Please sign in to comment.