vcpkg/ports/boost-locale/portfile.cmake

29 lines
1.1 KiB
CMake
Raw Normal View History

# Automatically generated by scripts/boost/generate-ports.ps1
2017-12-06 05:00:50 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/locale
2022-12-21 01:20:54 +08:00
REF boost-1.81.0
SHA512 553fe135656dfd4e1dd797396964508a3a9807c9a04233a86e340402eaf1913f8d89eff6e1c3fe9415258d541af877839d2d7b5616f40df892cbbdb2dfcbdb97
2017-12-06 05:00:50 +08:00
HEAD_REF master
PATCHES fix-dependencies.patch
2017-12-06 05:00:50 +08:00
)
2022-12-21 01:20:54 +08:00
vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2"
"import config : requires ;"
"import ../config/checks/config : requires ;"
)
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)
configure_file(
"${CMAKE_CURRENT_LIST_DIR}/b2-options.cmake.in"
"${CURRENT_BUILDTREES_DIR}/vcpkg-b2-options.cmake"
@ONLY
)
2017-12-06 05:00:50 +08:00
boost_modular_build(
SOURCE_PATH ${SOURCE_PATH}
BOOST_CMAKE_FRAGMENT "${CURRENT_BUILDTREES_DIR}/vcpkg-b2-options.cmake"
2017-12-06 05:00:50 +08:00
)
2018-01-18 14:08:48 +08:00
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
2017-12-06 05:00:50 +08:00
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})