vcpkg/ports/boost-url/portfile.cmake

20 lines
815 B
CMake
Raw Normal View History

# Automatically generated by scripts/boost/generate-ports.ps1
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/url
REF boost-${VERSION}
SHA512 dc3e19e8a94d2dc2ea652bc61dd41eec868024c6d0685888adf36aad10d46a778e19ab56c82ac1c75dfe71c3671dfa11e4442c676651090ef08637e9636e70b9
HEAD_REF master
)
vcpkg_replace_string("${SOURCE_PATH}/Jamfile"
"import ../../config/checks/config"
"import config/checks/config"
)
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
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})