vcpkg/ports/boost-vcpkg-helpers/portfile.cmake
Yury Bura 96ec7fb25d
[boost] update to 1.79.0 (#24210)
* [scripts/boost] update to v1.79.0

* [boost-*] re-generate ports

* update versions

* [boost-wave] fix build

* update version

* [fbthrift] fix build compatibility with Boost 1.79.0

* update versions

* [scripts/boost] use vcpkg_replace_string

* update versions
2022-04-21 10:01:54 -07:00

18 lines
652 B
CMake

set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
set(BOOST_VERSION 1.79.0)
file(INSTALL
${CMAKE_CURRENT_LIST_DIR}/boost-modular-headers.cmake
${CMAKE_CURRENT_LIST_DIR}/usage
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
)
vcpkg_download_distfile(LICENSE
URLS "https://raw.githubusercontent.com/boostorg/boost/boost-${BOOST_VERSION}/LICENSE_1_0.txt"
FILENAME "boost_LICENSE_1_0.txt"
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
)
file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)