aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-charconv/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/boost-charconv/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/boost-charconv/portfile.cmake')
-rw-r--r--vcpkg/ports/boost-charconv/portfile.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-charconv/portfile.cmake b/vcpkg/ports/boost-charconv/portfile.cmake
new file mode 100644
index 0000000..0344f0e
--- /dev/null
+++ b/vcpkg/ports/boost-charconv/portfile.cmake
@@ -0,0 +1,19 @@
+# Automatically generated by scripts/boost/generate-ports.ps1
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO boostorg/charconv
+ REF boost-${VERSION}
+ SHA512 1320eace4c7a0945b8d633117398f238ee150331ef981c4912d6cb5cde4096a606d102cebe329e559c3d098bb26cbd86444128cd6f70a5524a76bc0d0398b9e1
+ HEAD_REF master
+)
+
+set(FEATURE_OPTIONS "")
+if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux" AND VCPKG_TARGET_IS_MINGW)
+ # when cross compile, cmake generates the error try_run() invoked in cross-compiling mode
+ list(APPEND FEATURE_OPTIONS "-DBOOST_CHARCONV_QUADMATH_FOUND_EXITCODE=0")
+endif()
+boost_configure_and_install(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS ${FEATURE_OPTIONS}
+)