Skip to content

Commit f2f71f9

Browse files
committed
Review Comment Update
1 parent 96be70f commit f2f71f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,9 @@ macro(rocm_setup_license HEADER_ONLY)
473473
DESTINATION share/doc/${_rocm_cpack_package_name}-asan
474474
)
475475
elseif((ROCM_USE_DEV_COMPONENT AND ${HEADER_ONLY}) OR NOT BUILD_SHARED_LIBS)
476+
if("${HDRONLY_LICENSE_INSTALLDIR}" STREQUAL "")
477+
set(HDRONLY_LICENSE_INSTALLDIR "${_rocm_cpack_package_name}")
478+
endif()
476479
message(STATUS "rocm-cmake: set install license file to ${HDRONLY_LICENSE_INSTALLDIR}.")
477480
install(
478481
FILES ${CPACK_RESOURCE_FILE_LICENSE}

0 commit comments

Comments
 (0)