[seal] Disable SEAL_USE_MSGSL and add default feature zlib (#11588)

This commit is contained in:
Jack·Boos·Yu 2020-05-27 11:42:09 +08:00 committed by GitHub
parent c3cfb02466
commit 323cd68f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,9 @@
Source: seal
Version: 3.4.5
Version: 3.4.5-1
Homepage: https://github.com/microsoft/SEAL
Description: Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
Default-Features: zlib
Feature: zlib
Build-Depends: zlib
Description: Use zlib for compressed serialization

View File

@ -25,12 +25,17 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
zlib SEAL_USE_ZLIB
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/native/src
PREFER_NINJA
OPTIONS
OPTIONS ${FEATURE_OPTIONS}
-DALLOW_COMMAND_LINE_BUILD=ON
-DSEAL_LIB_BUILD_TYPE=${SEAL_LIB_BUILD_TYPE}
-DSEAL_USE_MSGSL=OFF # issue https://github.com/microsoft/SEAL/issues/159
)
vcpkg_install_cmake()