2019-10-08 01:35:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2020-12-27 14:43:46 +08:00
|
|
|
REPO boost-ext/di
|
2023-11-15 04:43:13 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 2371415df0b6569861d60c32908afb6fae8bfa221ad4153eeb7f60143f8449eca6c81b57067d5009b8cd85e31c04ede554fdee23008ddeffa4e7746856e250ae
|
2020-12-27 14:43:46 +08:00
|
|
|
HEAD_REF cpp14
|
2016-10-20 10:27:11 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/include/boost
|
2020-12-27 14:43:46 +08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
2024-02-17 05:48:02 +08:00
|
|
|
|
|
|
|
if ("extensions" IN_LIST FEATURES)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/extension/include/boost
|
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
endif()
|
2016-10-20 10:27:11 +08:00
|
|
|
|
2016-10-21 05:09:02 +08:00
|
|
|
vcpkg_download_distfile(LICENSE
|
2022-01-13 04:13:55 +08:00
|
|
|
URLS https://www.boost.org/LICENSE_1_0.txt
|
2021-04-02 01:33:58 +08:00
|
|
|
FILENAME "di-copyright"
|
2020-12-27 14:43:46 +08:00
|
|
|
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
|
2016-10-21 05:09:02 +08:00
|
|
|
)
|
2023-11-15 04:43:13 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${LICENSE}")
|