mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 23:07:56 +08:00
726c111481
vcpkg will now fail on failure to apply patches except when using `--head`.
20 lines
713 B
CMake
20 lines
713 B
CMake
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO boost-experimental/di
|
|
REF v1.1.0
|
|
SHA512 69f7b0567cffea9bf983aedd7eabd1a07ae20249cd56a13de98eaa0cc835cbe3b76e790da68489536dd07edeb99271a69111f4d0c6b0aa3721ce9f5ead848fe0
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/include/boost
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
vcpkg_download_distfile(LICENSE
|
|
URLS http://www.boost.org/LICENSE_1_0.txt
|
|
FILENAME "boost-di-copyright"
|
|
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
|
|
)
|
|
file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost-di/copyright)
|