Skip to content

Commit

Permalink
Using PROJECT_SOURCE_DIR when referencing top-level project files. (#220
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bjandras authored Jun 28, 2023
1 parent 01dee3e commit 4fa09fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ set(CPACK_PACKAGE_VENDOR "OpenTelemetry")
set(CPACK_PACKAGE_CONTACT "https://github.com/orgs/open-telemetry/teams/ebpf-maintainers")
set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/open-telemetry/opentelemetry-ebpf")

set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README.md")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt")
set(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README.md")
set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.txt")

set(CPACK_GENERATOR "TGZ;RPM;DEB")
set(CPACK_COMPONENTS_GROUPING IGNORE) # one package per component
Expand Down

0 comments on commit 4fa09fd

Please sign in to comment.