vcpkg/ports/boost-locale/portfile.cmake
Robert Schumacher 9433136b22 [boost] Update to 1.71.0 (#7959)
* [boost] Update to 1.71.0

* [openmvs] Fixes for boost 1.71

* [telnetpp] DISABLE_PARALLEL_CONFIGURE

* [execute_process] Fix output variables (like error_code) not getting populated

* [telnetpp] Add missing boost-exception dependency

* [boost] Refactor generate-ports.ps1 into scripts dir. Enable boost-thread on uwp.

* [boost-iostreams] Revert removal of zstd dependency

* [openmvs] Fix tools deployment
2019-09-27 10:41:02 -07:00

31 lines
993 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/locale
REF boost-1.71.0
SHA512 392663718ca3cc2076c675701a6df61836a4bce25d48391c7e59dabe23dbcb365f496b9f44ffe2722bb8bcf60e7b93fd313418e9bbad4a84ac38d596c6b767e4
HEAD_REF master
)
if("icu" IN_LIST FEATURES)
set(BOOST_LOCALE_ICU on)
else()
set(BOOST_LOCALE_ICU off)
endif()
include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
boost_modular_build(
SOURCE_PATH ${SOURCE_PATH}
BOOST_CMAKE_FRAGMENT "${CMAKE_CURRENT_LIST_DIR}/cmake-fragment.cmake"
OPTIONS
boost.locale.iconv=off
boost.locale.posix=off
/boost/locale//boost_locale
boost.locale.icu=${BOOST_LOCALE_ICU}
)
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})