Skip to content

Commit

Permalink
Merge pull request #75 from zjyhjqs/feat/cpack
Browse files Browse the repository at this point in the history
Add CPack support
  • Loading branch information
pdimov authored Oct 3, 2024
2 parents bb741d0 + 113ecd7 commit a9a88a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/BoostRoot.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -453,3 +453,9 @@ else()
endif()

install(FILES "${CONFIG_VERSION_FILE_NAME}" DESTINATION "${CONFIG_INSTALL_DIR}")

set(CPACK_PACKAGE_VENDOR "Boost")
set(CPACK_GENERATOR "TGZ")
set(CPACK_RESOURCE_FILE_LICENSE "${Boost_SOURCE_DIR}/LICENSE_1_0.txt")
set(CPACK_RESOURCE_FILE_README "${Boost_SOURCE_DIR}/README.md")
include(CPack)

0 comments on commit a9a88a7

Please sign in to comment.