diff options
Diffstat (limited to 'vcpkg/ports/boost-iostreams/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/boost-iostreams/portfile.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-iostreams/portfile.cmake b/vcpkg/ports/boost-iostreams/portfile.cmake new file mode 100644 index 0000000..ef2a269 --- /dev/null +++ b/vcpkg/ports/boost-iostreams/portfile.cmake @@ -0,0 +1,19 @@ +# Automatically generated by scripts/boost/generate-ports.ps1 + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO boostorg/iostreams + REF boost-${VERSION} + SHA512 8c5c7485090a0e2ae6a6ef296107cf3212aa89bd238c1424d0b013f737bf9398fe6df6c2712dec7e33ddec12180a702cf6061bc93b3271da6c5b04a97530832f + HEAD_REF master +) + +set(FEATURE_OPTIONS "") +include("${CMAKE_CURRENT_LIST_DIR}/features.cmake") +if (BOOST_IOSTREAMS_ENABLE_ZSTD AND VCPKG_LIBRARY_LINKAGE STREQUAL "static") + list(APPEND FEATURE_OPTIONS "-DBOOST_IOSTREAMS_ZSTD_TARGET=zstd::libzstd_static") +endif() +boost_configure_and_install( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS ${FEATURE_OPTIONS} +) |