aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/boost/pre-build-stubs/iostreams.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/boost/pre-build-stubs/iostreams.cmake')
-rw-r--r--vcpkg/scripts/boost/pre-build-stubs/iostreams.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcpkg/scripts/boost/pre-build-stubs/iostreams.cmake b/vcpkg/scripts/boost/pre-build-stubs/iostreams.cmake
new file mode 100644
index 0000000..93f8759
--- /dev/null
+++ b/vcpkg/scripts/boost/pre-build-stubs/iostreams.cmake
@@ -0,0 +1,3 @@
+if (BOOST_IOSTREAMS_ENABLE_ZSTD AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+ list(APPEND FEATURE_OPTIONS "-DBOOST_IOSTREAMS_ZSTD_TARGET=zstd::libzstd_static")
+endif() \ No newline at end of file