2022-01-13 03:39:19 +08:00
|
|
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
2017-12-06 05:00:50 +08:00
|
|
|
|
2022-01-13 03:39:19 +08:00
|
|
|
vcpkg_download_distfile(LICENSE
|
2023-01-05 06:13:32 +08:00
|
|
|
URLS "https://raw.githubusercontent.com/boostorg/boost/boost-${VERSION}/LICENSE_1_0.txt"
|
2022-01-13 03:39:19 +08:00
|
|
|
FILENAME "boost_LICENSE_1_0.txt"
|
|
|
|
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
|
|
|
|
)
|
|
|
|
|
2023-01-05 06:13:32 +08:00
|
|
|
file(INSTALL
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/boost-modular-headers.cmake"
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/usage"
|
|
|
|
"${LICENSE}"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${CMAKE_CURRENT_LIST_DIR}/LICENSE.txt")
|