mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 18:47:09 +01:00
[seal] Disable SEAL_USE_MSGSL and add default feature zlib (#11588)
This commit is contained in:
parent
c3cfb02466
commit
323cd68f5a
@ -1,4 +1,9 @@
|
|||||||
Source: seal
|
Source: seal
|
||||||
Version: 3.4.5
|
Version: 3.4.5-1
|
||||||
Homepage: https://github.com/microsoft/SEAL
|
Homepage: https://github.com/microsoft/SEAL
|
||||||
Description: Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
|
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
|
@ -25,12 +25,17 @@ vcpkg_from_github(
|
|||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
)
|
)
|
||||||
|
|
||||||
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||||
|
zlib SEAL_USE_ZLIB
|
||||||
|
)
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}/native/src
|
SOURCE_PATH ${SOURCE_PATH}/native/src
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS
|
OPTIONS ${FEATURE_OPTIONS}
|
||||||
-DALLOW_COMMAND_LINE_BUILD=ON
|
-DALLOW_COMMAND_LINE_BUILD=ON
|
||||||
-DSEAL_LIB_BUILD_TYPE=${SEAL_LIB_BUILD_TYPE}
|
-DSEAL_LIB_BUILD_TYPE=${SEAL_LIB_BUILD_TYPE}
|
||||||
|
-DSEAL_USE_MSGSL=OFF # issue https://github.com/microsoft/SEAL/issues/159
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user