mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 23:28:59 +08:00
18 lines
753 B
CMake
18 lines
753 B
CMake
# Automatically generated by scripts/boost/generate-ports.ps1
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO boostorg/chrono
|
|
REF boost-1.77.0
|
|
SHA512 df6f3ebb5995b8cec0d0964625e3fd5c3a139178a6676c27a28163e2c1559fdb2289e05c4f4eaff94ee04dd1a01afbb30d99c1f7a0e09660c9d5bfe7414a4f51
|
|
HEAD_REF master
|
|
)
|
|
|
|
if(NOT DEFINED CURRENT_HOST_INSTALLED_DIR)
|
|
message(FATAL_ERROR "boost-chrono requires a newer version of vcpkg in order to build.")
|
|
endif()
|
|
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
|
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|