mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[seal] Support dynamic builds (#23064)
This commit is contained in:
parent
81d6c5ec18
commit
c364465535
@ -8,6 +8,7 @@ vcpkg_from_github(
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
gsl.patch
|
||||
shared-zstd.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
13
ports/seal/shared-zstd.patch
Normal file
13
ports/seal/shared-zstd.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4cc8a01..b8c92c2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -205,7 +205,7 @@ if(SEAL_USE_ZSTD)
|
||||
message(FATAL_ERROR "Zstandard: must be static")
|
||||
endif()
|
||||
elseif(TARGET zstd::libzstd_shared)
|
||||
- message(FATAL_ERROR "Zstandard: must be static")
|
||||
+ set(zstd_static "zstd::libzstd_shared")
|
||||
else()
|
||||
message(FATAL_ERROR "Zstandard: not found")
|
||||
endif()
|
@ -1,10 +1,9 @@
|
||||
{
|
||||
"name": "seal",
|
||||
"version-semver": "3.7.2",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.",
|
||||
"homepage": "https://github.com/microsoft/SEAL",
|
||||
"supports": "!windows | (windows & static)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
@ -6306,7 +6306,7 @@
|
||||
},
|
||||
"seal": {
|
||||
"baseline": "3.7.2",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"secp256k1": {
|
||||
"baseline": "2017-19-10",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c3499eaa1c19049bc521c3d2799d8d7d6d032a8a",
|
||||
"version-semver": "3.7.2",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "11dc6c4e8b720416ff6ce195e48287982a6131ec",
|
||||
"version-semver": "3.7.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user