vcpkg/ports/boost-regex/portfile.cmake
Robert Schumacher eae02c95b3 [boost] Update to 1.68.0
[boost-vcpkg-helpers] Improve include scanner

[boost-vcpkg-helpers] Fix boost/functional/hash -> boost/container_hash dependency

[boost-context] Install replacement boost/context/all.hpp to support FindBoost.cmake

[boost] Improve port dependency qualifiers for UWP

[boost-contract] Mark as known to fail for ARM
2018-08-20 14:26:49 -07:00

23 lines
878 B
CMake

# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/regex
REF boost-1.68.0
SHA512 57ea3b825011172e332f52aead9aae4b7d17dfceef68c5cc017607570c6818adfc73780f4d405a57aa93c3a7a3ca09bb74de2a9cb97e72c78700098ed6d2e63e
HEAD_REF master
)
if("icu" IN_LIST FEATURES)
set(REQUIREMENTS "<library>/user-config//icuuc <library>/user-config//icudt <library>/user-config//icuin <define>BOOST_HAS_ICU=1")
else()
set(REQUIREMENTS)
endif()
include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
boost_modular_build(SOURCE_PATH ${SOURCE_PATH} REQUIREMENTS "${REQUIREMENTS}")
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})