diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/boost-locale/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/boost-locale/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/boost-locale/portfile.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-locale/portfile.cmake b/vcpkg/ports/boost-locale/portfile.cmake new file mode 100644 index 0000000..6ac1bbd --- /dev/null +++ b/vcpkg/ports/boost-locale/portfile.cmake @@ -0,0 +1,20 @@ +# Automatically generated by scripts/boost/generate-ports.ps1 + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO boostorg/locale + REF boost-${VERSION} + SHA512 113e4a0abc158bbb0c6a2fae0b920449ecbd4346db8e3845f2c49bc1caca0497e15824e91546c91972d48976913860e23f51ee5700ce2c3f31c217fb8034fe1c + HEAD_REF master +) + +set(FEATURE_OPTIONS "") +include("${CMAKE_CURRENT_LIST_DIR}/features.cmake") +if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux" AND VCPKG_TARGET_IS_MINGW) + # mingw cross compile toolchain lacks std conv support + list(APPEND FEATURE_OPTIONS "-DBOOST_LOCALE_ENABLE_STD=OFF") +endif() +boost_configure_and_install( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS ${FEATURE_OPTIONS} +) |