vcpkg/ports/boost-locale/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

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.68.0
SHA512 6e7c85a307ff8c8f41b1002e02c5c68d9ca5c89e95063adc0f134a5c96be728334f1a0548f92c07f85ed639b73588e49df1b0c2d964fa83cee86c746634d5b94
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})