mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:06:49 +08:00
[apsi] fix baseline regression (#29193)
This commit is contained in:
parent
4efb7ed628
commit
042fc506d7
13
ports/apsi/fix-find_package.patch
Normal file
13
ports/apsi/fix-find_package.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 0951577..c5efa1e 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -117,7 +117,7 @@ set(APSI_INCLUDES_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR}/APSI-${APSI_VERSION_MA
|
||||||
|
# find_package might throw a FATAL_ERROR before"xxx: not found", e.g. with vcpkg.cmake.
|
||||||
|
|
||||||
|
# Microsoft SEAL
|
||||||
|
-find_package(SEAL 4 QUIET REQUIRED)
|
||||||
|
+find_package(SEAL 4.1 QUIET REQUIRED)
|
||||||
|
if(NOT SEAL_FOUND)
|
||||||
|
message(FATAL_ERROR "Microsoft SEAL: not found")
|
||||||
|
else()
|
@ -6,6 +6,8 @@ vcpkg_from_github(
|
|||||||
REF 2dff8dcd39c361527ea3b320f87cb8e71dd4f777 #0.9.0
|
REF 2dff8dcd39c361527ea3b320f87cb8e71dd4f777 #0.9.0
|
||||||
SHA512 16c52642719f1d67dfaa70d963ba8795ac618f250752a1f95d91d4b1db8b51b2598999dcc9a9a7a3dbe8537943a3c3bf2ec684cd2697fca88135b01009961213
|
SHA512 16c52642719f1d67dfaa70d963ba8795ac618f250752a1f95d91d4b1db8b51b2598999dcc9a9a7a3dbe8537943a3c3bf2ec684cd2697fca88135b01009961213
|
||||||
HEAD_REF main
|
HEAD_REF main
|
||||||
|
PATCHES
|
||||||
|
fix-find_package.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "apsi",
|
"name": "apsi",
|
||||||
"version-semver": "0.9.0",
|
"version-semver": "0.9.0",
|
||||||
|
"port-version": 1,
|
||||||
"description": "APSI is a research library for asymmetric private set intersection.",
|
"description": "APSI is a research library for asymmetric private set intersection.",
|
||||||
"homepage": "https://github.com/microsoft/APSI",
|
"homepage": "https://github.com/microsoft/APSI",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "c1614133f3e08c8203102a2dd519c759b01d7156",
|
||||||
|
"version-semver": "0.9.0",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "3fe18a82f71344cfd2a936fb6ddf4a6762edfffa",
|
"git-tree": "3fe18a82f71344cfd2a936fb6ddf4a6762edfffa",
|
||||||
"version-semver": "0.9.0",
|
"version-semver": "0.9.0",
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
},
|
},
|
||||||
"apsi": {
|
"apsi": {
|
||||||
"baseline": "0.9.0",
|
"baseline": "0.9.0",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"arb": {
|
"arb": {
|
||||||
"baseline": "2.21.1",
|
"baseline": "2.21.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user