Skip to content

Commit

Permalink
SWDEV-466390: Adding License for roctx, docs, tests packages (#1174)
Browse files Browse the repository at this point in the history
* Adding License for roctx, docs, tests packages

* Fixing Docs/ROCTx packages

* Fixing roctx path
  • Loading branch information
ammarwa authored Nov 5, 2024
1 parent dc6a568 commit d269c84
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cmake/rocprofiler_config_install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ install(
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_NAME}
COMPONENT core)

if(ROCPROFILER_BUILD_DOCS)
install(
FILES ${PROJECT_SOURCE_DIR}/LICENSE
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_NAME}-docs
COMPONENT docs)
endif()

install(
FILES ${PROJECT_SOURCE_DIR}/LICENSE
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_NAME}-tests
COMPONENT tests)

install(
DIRECTORY ${PROJECT_SOURCE_DIR}/samples
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME}
Expand Down
5 changes: 5 additions & 0 deletions cmake/rocprofiler_config_install_roctx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@ export(
set(${PACKAGE_NAME}_DIR
"${_BUILDTREE_EXPORT_DIR}"
CACHE PATH "${PACKAGE_NAME} build tree install" FORCE)

install(
FILES ${PROJECT_SOURCE_DIR}/LICENSE
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_NAME}
COMPONENT roctx)

0 comments on commit d269c84

Please sign in to comment.